v2: Use config.bat for host and port

This commit is contained in:
cmdr2 2022-09-02 16:00:53 +05:30
parent 75eb79bd55
commit facec59fe8

View File

@ -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