From facec59fe8c3cd05a0c5b087597ebfe8f4efec30 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Fri, 2 Sep 2022 16:00:53 +0530 Subject: [PATCH] v2: Use config.bat for host and port --- scripts/on_sd_start.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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