aboutsummaryrefslogtreecommitdiff
path: root/modern/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/index.js')
-rw-r--r--modern/src/index.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/modern/src/index.js b/modern/src/index.js
index 6af059cf..2f5f509b 100644
--- a/modern/src/index.js
+++ b/modern/src/index.js
@@ -16,8 +16,6 @@ import ServerProvider from './ServerProvider';
preloadImages();
-const base = window.location.href.indexOf('modern') >= 0 ? '/modern' : '/';
-
ReactDOM.render(
(
<Provider store={store}>
@@ -26,7 +24,7 @@ ReactDOM.render(
<ThemeProvider theme={theme}>
<CssBaseline />
<ServerProvider>
- <BrowserRouter basename={base}>
+ <BrowserRouter>
<Navigation />
</BrowserRouter>
</ServerProvider>