Fix trailing slash 404
This commit is contained in:
parent
b8cc05e0ab
commit
a127728603
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,8 @@ app.config['SESSION_KEY_PREFIX'] = 'anonchat_session:'
|
|||
app.config['SCHEDULER_API_ENABLED'] = False
|
||||
app.config['SCHEDULER_TIMEZONE'] = 'UTC'
|
||||
|
||||
app.url_map.strict_slashes = False
|
||||
|
||||
if app.config['BEHIND_PROXY']:
|
||||
app.wsgi_app = ProxyFix(app.wsgi_app, x_for=2)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue