diff --git a/src/App.tsx b/src/App.tsx
index 0faec1c..7566f61 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -14,10 +14,16 @@ function RootRedirect() {
import { routeConfig } from './routesConfig'
+// Mount path comes from the document the frontgen server writes at
+// placement time (e.g. "/krishna-sales/"), so one built artifact serves any
+// mount without a hardcoded slug. Falls back to "/" for local dev.
+const routerBasename =
+ (document.querySelector('base')?.getAttribute('href') || '/').replace(/\/$/, '') || '/'
+
function App() {
return (
-
+
} />
}>