mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
Maintain backward compatibility with WEBUI_JWT_SECRET_KEY for the time being
This commit is contained in:
parent
e2d481d99a
commit
1031638d82
@ -6,7 +6,7 @@ cd "$SCRIPT_DIR" || exit
|
||||
KEY_FILE=.webui_secret_key
|
||||
|
||||
PORT="${PORT:-8080}"
|
||||
if ["$WEBUI_SECRET_KEY" = ""]; then
|
||||
if ["$WEBUI_SECRET_KEY $WEBUI_JWT_SECRET_KEY" = " "]; then
|
||||
echo No WEBUI_SECRET_KEY provided
|
||||
|
||||
if ! [ -e "$KEY_FILE" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user