Skip to content

Commit

Permalink
Set default Astro site
Browse files Browse the repository at this point in the history
The `site` attribute is important for the canonical URL and sitemap.
This commit will set the default `site` for deployment with Vercel.
For GitHub Pages deployments to https://br3ndonland.github.io/, the
GitHub Actions workflow uses `--site "https://${GITHUB_REPOSITORY##*/}"`
to override the URL in the Astro config file.

https://docs.astro.build/en/guides/configuring-astro/
https://docs.astro.build/en/reference/configuration-reference/
  • Loading branch information
br3ndonland committed Jul 1, 2024
1 parent a313bee commit 0e864ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ export default defineConfig({
theme: "dracula",
},
},
site: "https://www.bws.bio",
})

0 comments on commit 0e864ab

Please sign in to comment.