Browse Source

Update dev.sh

Classic298 2 months ago
parent
commit
549294ee30
1 changed files with 2 additions and 1 deletions
  1. 2 1
      backend/dev.sh

+ 2 - 1
backend/dev.sh

@@ -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