summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorMarco Nassabain <marco.nassabain@hotmail.com>2021-02-24 23:24:37 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 23:17:31 +0200
commitd192abef884c04c3e6e28483fd6c81388e59f0a9 (patch)
tree1b9da452f716945bf42e7de0f489a1799a3d9356 /js
parentd935a7b26edfab42deacc037063ebedc228a8b6c (diff)
✨ Run.js: Include shared route in regex
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'js')
-rw-r--r--js/app/Run.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/app/Run.js b/js/app/Run.js
index 0eb22321c..cd23e8996 100644
--- a/js/app/Run.js
+++ b/js/app/Run.js
@@ -59,7 +59,7 @@ app.run(function ($rootScope, $location, $http, $q, $interval, $route, Loading,
}
// only redirect if url is empty or faulty
- if (!/^\/items(\/(starred|unread|explore|feeds\/\d+|folders\/\d+))?\/?$/
+ if (!/^\/items(\/(starred|unread|shared|explore|feeds\/\d+|folders\/\d+))?\/?$/
.test(path)) {
$location.path(url);
}