fix: host app with subpath (#11739)

closes #11719
This commit is contained in:
forehalo
2025-04-17 01:29:48 +00:00
parent 268c34e8b5
commit 18fae0f1aa
6 changed files with 13 additions and 6 deletions

View File

@@ -188,6 +188,7 @@ const createBrowserRouter = wrapCreateBrowserRouterV6(
export const router = (
window.SENTRY_RELEASE ? createBrowserRouter : reactRouterCreateBrowserRouter
)(topLevelRoutes, {
basename: environment.subPath,
future: {
v7_normalizeFormMethod: true,
},