diff --git a/frontend/src/pages/ResultsPage.tsx b/frontend/src/pages/ResultsPage.tsx index e1e8598..bc2dd87 100644 --- a/frontend/src/pages/ResultsPage.tsx +++ b/frontend/src/pages/ResultsPage.tsx @@ -1,8 +1,11 @@ export function ResultsPage() { + // BASE_URL is "/" in dev and "//" on GitHub Pages, so the iframe + // resolves under the project subpath instead of the domain root. + const proto = `${import.meta.env.BASE_URL}proto/index.html` return (