diff --git a/src/anonchat/__init__.py b/src/anonchat/__init__.py index 90d77a7..6a50ef0 100644 --- a/src/anonchat/__init__.py +++ b/src/anonchat/__init__.py @@ -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)