modified: run.bat

This commit is contained in:
JianFeeeee
2025-08-15 16:09:29 +08:00
parent c697d8f604
commit 305ba89d28

View File

@ -57,14 +57,14 @@ if "%PORT%"=="" (
echo success read port: %PORT%
)
:: 5. 启动服务
echo starting rebot_server...
echo listening at: %PORT%
:: 正确启动 waitress
waitress-serve --host=0.0.0.0 --port=%PORT% app:app
:: 6. 错误处理
if errorlevel 1 (
echo error,fail to start
pause