ignore,去除debug模式

This commit is contained in:
Jerry Yan 2022-04-17 15:21:26 +08:00
parent 28c66ea3e8
commit be3f4d6519
2 changed files with 1 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
.idea
*.flv
*.mp4
*.xml
*.db
*.ini

1
app.py
View File

@ -10,7 +10,6 @@ from model import db
app = Flask(__name__)
app.config['JSON_AS_ASCII'] = False
# CORS(app, supports_credentials=True)
app.debug = True
load_config()
app.config['SQLALCHEMY_DATABASE_URI'] = "sqlite:///database.db?check_same_thread=False"
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True