@ -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
The note is not visible to the blocked user.