diff options
author | Marco Nassabain <marco.nassabain@hotmail.com> | 2021-02-24 23:24:37 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 23:17:31 +0200 |
commit | d192abef884c04c3e6e28483fd6c81388e59f0a9 (patch) | |
tree | 1b9da452f716945bf42e7de0f489a1799a3d9356 /js | |
parent | d935a7b26edfab42deacc037063ebedc228a8b6c (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.js | 2 |
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); } |