update: 更新文件 main.py

Signed-off-by: qingss0 <qingss0@noreply.gitcode.com>
This commit is contained in:
qingss0 committed 2026-07-24 06:22:15 +08:00
1 parent fcdcdcff09
commit fbeba05850
1 file changed
+2 -2
+2 -2
View File
@@ -53,5 +53,5 @@ def execute_sql():
return jsonify({'success': False, 'error': str(e)}), 400
if __name__ == '__main__':
# 单线程单进程,绑定 127.0.0.1:5000
serve(app, host='127.0.0.1', port=5000, threads=1)
# 单线程单进程,绑定 127.0.0.1:8005
serve(app, host='127.0.0.1', port=8005, threads=1)