瀏覽代碼

Update dev.sh

Classic298 2 月之前
父節點
當前提交
549294ee30
共有 1 個文件被更改,包括 2 次插入1 次删除
  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