We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fd1273 commit 69261f8Copy full SHA for 69261f8
astro.config.mjs
@@ -19,7 +19,12 @@ const hasAlgoliaConfig = ALGOLIA_APP_ID && ALGOLIA_SEARCH_API_KEY && ALGOLIA_IND
19
20
// https://astro.build/config
21
export default defineConfig({
22
- site: "https://aptos.dev",
+ site:
23
+ process.env.VERCEL_ENV === "production"
24
+ ? "https://aptos-docs-astro.vercel.app"
25
+ : process.env.VERCEL_URL
26
+ ? `https://${process.env.VERCEL_URL}`
27
+ : "http://localhost:4321",
28
integrations: [
29
starlight({
30
title: "Aptos Developer Docs",
0 commit comments