pvanand commited on
Commit
a2cce44
·
verified ·
1 Parent(s): 307cd2f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +16 -15
main.py CHANGED
@@ -570,21 +570,22 @@ from fastapi.middleware.cors import CORSMiddleware
570
  # CORS middleware setup
571
  app.add_middleware(
572
  CORSMiddleware,
573
- allow_origins=[
574
- "http://127.0.0.1:5501/",
575
- "http://localhost:5501",
576
- "http://localhost:3000",
577
- "https://www.elevaticsai.com",
578
- "https://www.elevatics.cloud",
579
- "https://www.elevatics.online",
580
- "https://www.elevatics.ai",
581
- "https://elevaticsai.com",
582
- "https://elevatics.cloud",
583
- "https://elevatics.online",
584
- "https://elevatics.ai",
585
- "https://pvanand-specialized-agents.hf.space",
586
- "https://pvanand-audio-chat.hf.space/"
587
- ],
 
588
  allow_credentials=True,
589
  allow_methods=["GET", "POST"],
590
  allow_headers=["*"],
 
570
  # CORS middleware setup
571
  app.add_middleware(
572
  CORSMiddleware,
573
+ allow_origins=["*"],
574
+ # allow_origins=[
575
+ # "http://127.0.0.1:5501/",
576
+ # "http://localhost:5501",
577
+ # "http://localhost:3000",
578
+ # "https://www.elevaticsai.com",
579
+ # "https://www.elevatics.cloud",
580
+ # "https://www.elevatics.online",
581
+ # "https://www.elevatics.ai",
582
+ # "https://elevaticsai.com",
583
+ # "https://elevatics.cloud",
584
+ # "https://elevatics.online",
585
+ # "https://elevatics.ai",
586
+ # "https://pvanand-specialized-agents.hf.space",
587
+ # "https://pvanand-audio-chat.hf.space/"
588
+ # ],
589
  allow_credentials=True,
590
  allow_methods=["GET", "POST"],
591
  allow_headers=["*"],