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)