diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 8120d88d..ac1b6d5a 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -103,6 +103,8 @@ @set SD_UI_PATH=%cd%\..\ui -@uvicorn server:app --app-dir "%SD_UI_PATH%" --port 9000 --host 0.0.0.0 +@call ..\config.bat + +@uvicorn server:app --app-dir "%SD_UI_PATH%" --port %SD_PORT% --host %SD_HOST% @pause \ No newline at end of file