فهرست منبع

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