fix: windows start script
This commit is contained in:
parent
c8e8111dd9
commit
09f0c6beee
|
|
@ -28,7 +28,7 @@ SET "WEBUI_SECRET_KEY=%WEBUI_SECRET_KEY%"
|
||||||
SET "WEBUI_JWT_SECRET_KEY=%WEBUI_JWT_SECRET_KEY%"
|
SET "WEBUI_JWT_SECRET_KEY=%WEBUI_JWT_SECRET_KEY%"
|
||||||
|
|
||||||
:: Check if WEBUI_SECRET_KEY and WEBUI_JWT_SECRET_KEY are not set
|
:: Check if WEBUI_SECRET_KEY and WEBUI_JWT_SECRET_KEY are not set
|
||||||
IF "%WEBUI_SECRET_KEY%%WEBUI_JWT_SECRET_KEY%" == " " (
|
IF "%WEBUI_SECRET_KEY% %WEBUI_JWT_SECRET_KEY%" == " " (
|
||||||
echo Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
|
echo Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
|
||||||
|
|
||||||
IF NOT EXIST "%KEY_FILE%" (
|
IF NOT EXIST "%KEY_FILE%" (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue