TRM-coding | 286e678 | 2025-06-13 21:00:11 +0800 | [diff] [blame] | 1 | from app import create_app |
TRM-coding | 78aa966 | 2025-06-17 23:40:10 +0800 | [diff] [blame] | 2 | from flask_cors import CORS |
TRM-coding | 286e678 | 2025-06-13 21:00:11 +0800 | [diff] [blame] | 3 | |
4 | app = create_app() | ||||
TRM-coding | 78aa966 | 2025-06-17 23:40:10 +0800 | [diff] [blame] | 5 | CORS(app, resources={r"/*": {"origins": "*"}}) |
TRM-coding | 286e678 | 2025-06-13 21:00:11 +0800 | [diff] [blame] | 6 | |
7 | if __name__ == "__main__": | ||||
8 | app.run(debug=True,port=5713,host='0.0.0.0') |