Skip to content

Commit 0119036

Browse files
authored
Merge pull request open-webui#15871 from Classic298/cors
Enh: dev.sh default port export
2 parents 7a023e0 + d8ed4fa commit 0119036

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎backend/dev.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
export CORS_ALLOW_ORIGIN=http://localhost:5173/
12
PORT="${PORT:-8080}"
2-
uvicorn open_webui.main:app --port $PORT --host 0.0.0.0 --forwarded-allow-ips '*' --reload
3+
uvicorn open_webui.main:app --port $PORT --host 0.0.0.0 --forwarded-allow-ips '*' --reload

0 commit comments

Comments
 (0)