Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
1031638d
Commit
1031638d
authored
Feb 01, 2024
by
Tim Farrell
Browse files
Maintain backward compatibility with WEBUI_JWT_SECRET_KEY for the time being
parent
e2d481d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/start.sh
backend/start.sh
+1
-1
No files found.
backend/start.sh
View file @
1031638d
...
@@ -6,7 +6,7 @@ cd "$SCRIPT_DIR" || exit
...
@@ -6,7 +6,7 @@ cd "$SCRIPT_DIR" || exit
KEY_FILE
=
.webui_secret_key
KEY_FILE
=
.webui_secret_key
PORT
=
"
${
PORT
:-
8080
}
"
PORT
=
"
${
PORT
:-
8080
}
"
if
[
"
$WEBUI_SECRET_KEY
"
=
""
]
;
then
if
[
"
$WEBUI_SECRET_KEY
$WEBUI_JWT_SECRET_KEY
"
=
"
"
]
;
then
echo
No WEBUI_SECRET_KEY provided
echo
No WEBUI_SECRET_KEY provided
if
!
[
-e
"
$KEY_FILE
"
]
;
then
if
!
[
-e
"
$KEY_FILE
"
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment