From d7cfb85f22183bcdcf6f15d5692e4339d5b04266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=C3=A9fir=20Destiny?= Date: Sun, 5 Jan 2020 12:24:23 +0100 Subject: [PATCH] Allow trailing slashes --- config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config.py b/config.py index cfced14..b22b990 100644 --- a/config.py +++ b/config.py @@ -31,5 +31,6 @@ app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+pymysql://%s:%s@%s/%s?charset=utf app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True app.config['SQLALCHEMY_POOL_RECYCLE'] = 200 app.config['SQLALCHEMY_ECHO'] = IS_DEBUG +app.url_map.strict_slashes = False auth = HTTPBasicAuth() db = SQLAlchemy(app)