mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
fix: #72 replace SITE.website with a URL in astro.config site value
Using SITE.website in astro.config.mjs causes the problem . Thus, change back to the original url string in site value of . Closes: #72
This commit is contained in:
@@ -35,6 +35,17 @@ export const SITE = {
|
||||
};
|
||||
```
|
||||
|
||||
Then, replace site property of `astro.config.mjs` file with your own deployed domain. _(You can also omit this step if you don't have deployed domain yet or you are still in development mode)_
|
||||
|
||||
```js
|
||||
// file: astro.config.mjs
|
||||
export default defineConfig({
|
||||
site: "https://astro-paper.pages.dev/", // replace this with your deployed domain
|
||||
integrations: [...],
|
||||
...
|
||||
)}
|
||||
```
|
||||
|
||||
Here are SITE configuration options
|
||||
|
||||
| Options | Description |
|
||||
|
||||
Reference in New Issue
Block a user