Skip to content

Commit

Permalink
Add a route when trailing slash is not added after base_url
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed Nov 20, 2018
1 parent 73b81dd commit 2165af8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bazarr/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2165af8

Please sign in to comment.