异步优化写入备份

This commit is contained in:
2024-11-12 20:30:19 +08:00
parent 8626664653
commit f33d61e315
21 changed files with 379 additions and 69 deletions

9
app.py
View File

@@ -1,3 +1,10 @@
'''
********************************************
* @Date: 2024 10 22
* @Description: flask app入口,在开发模式运行,在生产环境应该运行start.py
********************************************
'''
from flask import Flask
app = Flask(__name__, static_folder="./web/dist/", static_url_path="")
@@ -9,4 +16,4 @@ def main():
if __name__ == "__main__":
app.run(debug=True)
app.run()