Add a route when trailing slash is not added after base_url

This commit is contained in:
Louis Vézina 2018-11-20 10:43:13 -05:00
parent 73b81dd558
commit 2165af8bd3
1 changed files with 1 additions and 0 deletions

View File

@ -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()