File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ import starlight from "@astrojs/starlight";
44import starlightThemeGalaxy from "starlight-theme-galaxy" ;
55import tailwind from "@astrojs/tailwind" ;
66
7- // Use environment variable or default to production URL
8- const site = process . env . ASTRO_SITE || "https://docs.gdgalgiers.dev/" ;
9- const ogUrl = new URL ( "gdg-docs-og-1.png" , site ) . href ;
7+ // Use environment variable or default to undefined for dynamic site detection
8+ const site = process . env . ASTRO_SITE ;
9+ const ogUrl = site ? new URL ( "gdg-docs-og-1.png" , site ) . href : "/gdg-docs-og-1.png" ;
1010const ogImageAlt =
1111 "GDG Development Documentation - Comprehensive technical guides and best practices" ;
1212
Original file line number Diff line number Diff line change 2525 - ' 8080'
2626 - ' --memory'
2727 - ' 512Mi'
28- - ' --set-env-vars'
29- - ' ASTRO_SITE=https://docs.gdgalgiers.dev/'
3028
3129images :
3230 - ' gcr.io/erudite-marker-465011-c6/gdg-docs:latest'
You can’t perform that action at this time.
0 commit comments