diff --git a/homepage/src/components/Showcase.astro b/homepage/src/components/Showcase.astro index cf5217c..2dfcf99 100644 --- a/homepage/src/components/Showcase.astro +++ b/homepage/src/components/Showcase.astro @@ -1,6 +1,6 @@ --- const base = import.meta.env.BASE_URL; /* /Understand-Anything/ in prod */ -const demoUrl = `${base}demo/index.html`; +const demoUrl = `${base.endsWith('/') ? base : base + '/'}demo/index.html`; ---