修改端口为7400
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user