Merge pull request #15871 from Classic298/cors

Enh: dev.sh default port export
This commit is contained in:
Tim Jaeryang Baek 2025-07-19 23:20:52 +04:00 committed by GitHub
commit 0119036a11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,2 +1,3 @@
export CORS_ALLOW_ORIGIN=http://localhost:5173/
PORT="${PORT:-8080}"
uvicorn open_webui.main:app --port $PORT --host 0.0.0.0 --forwarded-allow-ips '*' --reload
uvicorn open_webui.main:app --port $PORT --host 0.0.0.0 --forwarded-allow-ips '*' --reload