aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLouis Vézina <[email protected]>2018-11-20 10:43:13 -0500
committerLouis Vézina <[email protected]>2018-11-20 10:43:13 -0500
commit2165af8bd3d627d0b903b374164bb3e60df9b996 (patch)
treec6e967c2a3f6c49eda7d218ea57fcf467cda8778
parent73b81dd558bbc0d832f39d2080cab4fd49d31c97 (diff)
downloadbazarr-2165af8bd3d627d0b903b374164bb3e60df9b996.tar.gz
bazarr-2165af8bd3d627d0b903b374164bb3e60df9b996.zip
Add a route when trailing slash is not added after base_urlv0.6.8
-rw-r--r--bazarr/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bazarr/main.py b/bazarr/main.py
index 4634c1b07..85a29c455 100644
--- a/bazarr/main.py
+++ b/bazarr/main.py
@@ -470,6 +470,7 @@ def image_proxy_movies(url):
@route(base_url)
+@route(base_url.rstrip('/'))
@custom_auth_basic(check_credentials)
def redirect_root():
authorize()