diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-31 07:27:14 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-31 07:27:14 -0700 |
commit | 24e927d6a51fd2bbbe1c307b169653d0ba041d70 (patch) | |
tree | e4274f15582ee14e37b91ed122f358f82ecdffd1 /modern/src | |
parent | 25eaee59556b82ca02d4ecb398da93aa0f94cb08 (diff) | |
download | trackermap-web-24e927d6a51fd2bbbe1c307b169653d0ba041d70.tar.gz trackermap-web-24e927d6a51fd2bbbe1c307b169653d0ba041d70.tar.bz2 trackermap-web-24e927d6a51fd2bbbe1c307b169653d0ba041d70.zip |
Other modern cleanup
Diffstat (limited to 'modern/src')
-rw-r--r-- | modern/src/index.js | 4 |
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> |