harishvijayasarangan commited on
Commit
a5f98f0
·
verified ·
1 Parent(s): d060883

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -1
main.py CHANGED
@@ -18,7 +18,10 @@ app = FastAPI(
18
  )
19
  app.add_middleware(
20
  CORSMiddleware,
21
- allow_origins=["*"], # frontend URL in production
 
 
 
22
  allow_credentials=True,
23
  allow_methods=["*"],
24
  allow_headers=["*"],
 
18
  )
19
  app.add_middleware(
20
  CORSMiddleware,
21
+ allow_origins=[
22
+ "[https://diabetes-detection-zeta.vercel.app](https://diabetes-detection-zeta.vercel.app)",
23
+ "[https://diabetes-detection-harishvijayasarangank-gmailcoms-projects.vercel.app](https://diabetes-detection-harishvijayasarangank-gmailcoms-projects.vercel.app)"
24
+ ],
25
  allow_credentials=True,
26
  allow_methods=["*"],
27
  allow_headers=["*"],