aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-01-28 22:12:25 -0600
committerJP Dillingham <jp@dillingham.me>2023-01-28 22:12:25 -0600
commit12dce9902dc791a70b44b89c67e380402c6d019f (patch)
treeac588ebf4818365f04b74db438346e8c82a234cb /src
parent83339dae0d486aeb76db74a807297566943424c6 (diff)
downloadslskd-12dce9902dc791a70b44b89c67e380402c6d019f.tar.gz
tweak route matching regex
Diffstat (limited to 'src')
-rw-r--r--src/web/src/components/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/src/components/App.js b/src/web/src/components/App.js
index 74ae2cd8..77365e1d 100644
--- a/src/web/src/components/App.js
+++ b/src/web/src/components/App.js
@@ -357,7 +357,7 @@ class App extends Component {
)
}/>
<Route render={(props) =>
- /\/(searches\/?|browse|users|chat|rooms|uploads|downloads|system\/)/
+ /\/(searches\/?|browse|users|chat|rooms|uploads|downloads|system|system\/(info|options|shares|data|logs))$/
.test(props.location.pathname) ?
<></> : <Redirect to={`${urlBase}/searches`}/>} />
</>}