diff options
Diffstat (limited to 'js/app/Run.js')
-rw-r--r-- | js/app/Run.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/app/Run.js b/js/app/Run.js index e119f0464..cdb2ba6d0 100644 --- a/js/app/Run.js +++ b/js/app/Run.js @@ -54,8 +54,7 @@ app.run(($rootScope, $location, $http, $q, $interval, Loading, ItemResource, } // only redirect if url is empty or faulty - // TODO check for faulty url - if (path === '') { + if (!/^\/items(\/(starred|feeds\/\d+|folders\/\d+))?$/.test(path)) { $location.path(url); } |