Browse Source

disabling strict slashes globally

joel
Simon Bowie 2 years ago
parent
commit
245c90931b
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      web/app/__init__.py

+ 2
- 0
web/app/__init__.py View File

@@ -28,6 +28,8 @@ def create_app():
app.config['SQLALCHEMY_ECHO'] = False
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False

app.url_map.strict_slashes = False

db.init_app(app)

login_manager = LoginManager()

Loading…
Cancel
Save