Sench729 commited on
Commit
330c7d5
·
1 Parent(s): 4728432

update cors

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ app = FastAPI(
39
  # -----------------------------
40
  app.add_middleware(
41
  CORSMiddleware,
42
- allow_origins=["https://grad-backend-uaju.onrender.com/"],
43
  allow_credentials=True,
44
  allow_methods=["*"],
45
  allow_headers=["*"],
 
39
  # -----------------------------
40
  app.add_middleware(
41
  CORSMiddleware,
42
+ allow_origins=["https://eventhu.vercel.app/","https://event-hub0.vercel.app","http://localhost:3000"],
43
  allow_credentials=True,
44
  allow_methods=["*"],
45
  allow_headers=["*"],