From 65813b636740ec91683d5149150d79c71705a5a0 Mon Sep 17 00:00:00 2001 From: Moepchi Date: Sat, 1 Aug 2026 00:23:56 +0200 Subject: [PATCH] Fix logo not loading under a non-root base path The logo used a hardcoded absolute "/logo.png" path, which only resolves correctly when the app is served from the domain root. Under the GitHub Pages demo (served from /webspeak3/), this 404'd. Vite already rewrites asset references in index.html for the configured base path, but plain string literals in JSX aren't touched, so this needs import.meta.env.BASE_URL explicitly. Co-Authored-By: Claude Sonnet 5 --- web/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/App.tsx b/web/src/App.tsx index 24526d4..54e3ba7 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -2391,7 +2391,7 @@ function AppInner() { > {theme === "dark" ? "☀️" : "🌙"} - + WebSpeak3