Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mancheng
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mancheng
Commits
5ddb7166
Commit
5ddb7166
authored
Feb 20, 2023
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20230220
parent
013c1f1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
apps/__init__.py
+1
-1
No files found.
apps/__init__.py
View file @
5ddb7166
...
...
@@ -68,7 +68,7 @@ def creat_app(config_name):
# 初始化redis工具,创建Redis连接对象用于缓存
global
redis_store
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(app, supports_credentials=True)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment