From 0e864ab0fc2c69ea589d6f59c51d20a77dd3e15f Mon Sep 17 00:00:00 2001 From: Brendon Smith Date: Mon, 1 Jul 2024 18:09:54 -0400 Subject: [PATCH] Set default Astro `site` 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/ --- astro.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/astro.config.mjs b/astro.config.mjs index e79d6a2..8681214 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -9,4 +9,5 @@ export default defineConfig({ theme: "dracula", }, }, + site: "https://www.bws.bio", })