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
884eb9f7
Commit
884eb9f7
authored
Jun 11, 2024
by
cocktailpeanut
Browse files
update
parent
06976c45
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
backend/start_windows.bat
backend/start_windows.bat
+2
-1
No files found.
backend/start_windows.bat
View file @
884eb9f7
...
...
@@ -8,6 +8,7 @@ cd /d "%SCRIPT_DIR%" || exit /b
SET
"KEY_FILE=.webui_secret_key"
IF
"
%PORT%
"
==
""
SET
PORT
=
8080
IF
"
%HOST%
"
==
""
SET
HOST
=
0
.0.0.0
SET
"WEBUI_SECRET_KEY=
%WEBUI_SECRET_KEY%
"
SET
"WEBUI_JWT_SECRET_KEY=
%WEBUI_JWT_SECRET_KEY%
"
...
...
@@ -29,4 +30,4 @@ IF "%WEBUI_SECRET_KEY%%WEBUI_JWT_SECRET_KEY%" == " " (
:: Execute uvicorn
SET "WEBUI_SECRET_KEY=
%WEBUI_SECRET_KEY%
"
uvicorn main:app --host
0.0.0.0
--port "
%PORT%
" --forwarded-allow-ips '
*
'
uvicorn main:app --host
"
%HOST%
"
--port "
%PORT%
" --forwarded-allow-ips '
*
'
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