浏览代码

fix(backend): add localhost:8001 to CORS origins for prerendering

unknown 3 月之前
父节点
当前提交
f493304d75
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      backend/main.py

+ 1 - 0
backend/main.py

@@ -29,6 +29,7 @@ origins = [
     "http://localhost:5173",
     "http://127.0.0.1:5173",
     "http://localhost:5000",
+    "http://localhost:8001",
     "https://radionica3d.me",
 ]
 extra_origins = os.getenv("CORS_ORIGINS")