mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-20 13:07:03 +00:00
Fix app route redirect issues
This commit is contained in:
parent
385cc214b3
commit
c3c1891f56
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ login_auth = settings.auth.type
|
|||
|
||||
update_notifier()
|
||||
|
||||
@app.errorhandler(404)
|
||||
def page_not_found(e):
|
||||
return redirect(base_url, code=302)
|
||||
|
||||
@app.route('/', defaults={'path': ''})
|
||||
@app.route('/<path:path>')
|
||||
|
|
Loading…
Reference in a new issue