Commit 5ddb7166 by dong

fix20230220

parent 013c1f1b
...@@ -68,7 +68,7 @@ def creat_app(config_name): ...@@ -68,7 +68,7 @@ def creat_app(config_name):
# 初始化redis工具,创建Redis连接对象用于缓存 # 初始化redis工具,创建Redis连接对象用于缓存
global redis_store global redis_store
redis_store = redis.StrictRedis(host=config_class.REDIS_HOST, port=config_class.REDIS_PORT, redis_store = redis.StrictRedis(host=config_class.REDIS_HOST, port=config_class.REDIS_PORT,
password=config_class.REDIS_PASS) db=2, password=config_class.REDIS_PASS)
# cors跨域插件,是否允许发送cookies # cors跨域插件,是否允许发送cookies
# CORS(app, supports_credentials=True) # CORS(app, supports_credentials=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment