From 90dc2d453ee26a14357ce3eb7210d74c76f45b57 Mon Sep 17 00:00:00 2001 From: Lum1104 Date: Tue, 14 Apr 2026 12:18:41 +0800 Subject: [PATCH] fix: add trailing slash to BASE_URL for demo iframe path Co-Authored-By: Claude Opus 4.6 (1M context) --- homepage/src/components/Showcase.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`; ---