修改端口为7400

This commit is contained in:
2025-11-05 13:32:14 +08:00
parent 3a8a498648
commit d69d0158d8
9 changed files with 28 additions and 28 deletions

View File

@@ -33,13 +33,13 @@ def main():
print("\n🚀 正在启动网页服务器...")
print("=" * 50)
print("📱 访问地址: http://localhost:5000")
print("📝 背诵排序: http://localhost:5000/recitation")
print("📱 访问地址: http://localhost:7400")
print("📝 背诵排序: http://localhost:7400/recitation")
print("\n按 Ctrl+C 停止服务器\n")
try:
from web_app import app
app.run(debug=True, host='0.0.0.0', port=5000)
app.run(debug=True, host='0.0.0.0', port=7400)
except KeyboardInterrupt:
print("\n👋 服务器已停止")
except Exception as e: