Allow trailing slashes

This commit is contained in:
Michel Roux 2020-01-05 12:24:23 +01:00
parent ccd5cf6783
commit d7cfb85f22

View File

@ -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_TRACK_MODIFICATIONS'] = True
app.config['SQLALCHEMY_POOL_RECYCLE'] = 200 app.config['SQLALCHEMY_POOL_RECYCLE'] = 200
app.config['SQLALCHEMY_ECHO'] = IS_DEBUG app.config['SQLALCHEMY_ECHO'] = IS_DEBUG
app.url_map.strict_slashes = False
auth = HTTPBasicAuth() auth = HTTPBasicAuth()
db = SQLAlchemy(app) db = SQLAlchemy(app)