open-webui/backend/dev.sh

4 lines
160 B
Bash
Raw Normal View History

2025-07-20 01:43:08 +08:00
export CORS_ALLOW_ORIGIN=http://localhost:5173/
2024-01-13 11:38:30 +08:00
PORT="${PORT:-8080}"
2025-07-20 01:43:08 +08:00
uvicorn open_webui.main:app --port $PORT --host 0.0.0.0 --forwarded-allow-ips '*' --reload