ignore,去除debug模式
This commit is contained in:
parent
28c66ea3e8
commit
be3f4d6519
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
.idea
|
.idea
|
||||||
*.flv
|
*.flv
|
||||||
|
*.mp4
|
||||||
*.xml
|
*.xml
|
||||||
*.db
|
*.db
|
||||||
*.ini
|
*.ini
|
1
app.py
1
app.py
@ -10,7 +10,6 @@ from model import db
|
|||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.config['JSON_AS_ASCII'] = False
|
app.config['JSON_AS_ASCII'] = False
|
||||||
# CORS(app, supports_credentials=True)
|
# CORS(app, supports_credentials=True)
|
||||||
app.debug = True
|
|
||||||
load_config()
|
load_config()
|
||||||
app.config['SQLALCHEMY_DATABASE_URI'] = "sqlite:///database.db?check_same_thread=False"
|
app.config['SQLALCHEMY_DATABASE_URI'] = "sqlite:///database.db?check_same_thread=False"
|
||||||
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True
|
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user