feat: allow deployment on subpaths

This commit is contained in:
Charles
2026-01-30 16:28:39 +08:00
parent a11caaae92
commit 024847a45a
4 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export function AppRoot() {
useEffect(() => persistSettings(store), []);
return (
<BrowserRouter>
<BrowserRouter basename={window.BASE_URL || '/'}>
<Provider store={store}>
<div role="tablist" className="tabs tabs-border w-full justify-center border-b-2 border-base-200 box-content">
<NavLink to="/" role="tab" className={tabClassNames}>