From d192abef884c04c3e6e28483fd6c81388e59f0a9 Mon Sep 17 00:00:00 2001 From: Marco Nassabain Date: Wed, 24 Feb 2021 23:24:37 +0100 Subject: =?UTF-8?q?=E2=9C=A8=20Run.js:=20Include=20shared=20route=20in=20r?= =?UTF-8?q?egex?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marco Nassabain --- js/app/Run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') 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); } -- cgit v1.2.3