summaryrefslogtreecommitdiffstats
path: root/js/app
diff options
context:
space:
mode:
Diffstat (limited to 'js/app')
-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 cdb2ba6d0..44c01a5e5 100644
--- a/js/app/Run.js
+++ b/js/app/Run.js
@@ -54,7 +54,7 @@ app.run(($rootScope, $location, $http, $q, $interval, Loading, ItemResource,
}
// only redirect if url is empty or faulty
- if (!/^\/items(\/(starred|feeds\/\d+|folders\/\d+))?$/.test(path)) {
+ if (!/^\/items(\/(starred|feeds\/\d+|folders\/\d+))?\/?$/.test(path)) {
$location.path(url);
}