pvanand commited on
Commit
4a8152e
1 Parent(s): 58b4c6a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +17 -8
main.py CHANGED
@@ -663,18 +663,27 @@ async def followup_agent(query: FollowupQueryModel, background_tasks: Background
663
 
664
  from fastapi.middleware.cors import CORSMiddleware
665
  # CORS middleware setup
 
666
  app.add_middleware(
667
  CORSMiddleware,
668
  allow_origins=[
669
  "http://localhost:3000",
670
- "https://elevaticsai.com",
671
- "http://elevaticsai.com",
672
- "https://elevatics.cloud",
673
- "http://elevatics.cloud",
674
- "https://elevatics.online",
675
- "http://elevatics.online",
676
- "https://elevatics.ai",
677
- "http://elevatics.ai",
 
 
 
 
 
 
 
 
678
  "https://pvanand-specialized-agents.hf.space"
679
  ],
680
  allow_credentials=True,
 
663
 
664
  from fastapi.middleware.cors import CORSMiddleware
665
  # CORS middleware setup
666
+ # CORS middleware setup
667
  app.add_middleware(
668
  CORSMiddleware,
669
  allow_origins=[
670
  "http://localhost:3000",
671
+ "https://*.elevaticsai.com",
672
+ "http://*.elevaticsai.com",
673
+ "https://www.elevaticsai.com",
674
+ "http://www.elevaticsai.com",
675
+ "https://*.elevatics.cloud",
676
+ "http://*.elevatics.cloud",
677
+ "https://www.elevatics.cloud",
678
+ "http://www.elevatics.cloud",
679
+ "https://*.elevatics.online",
680
+ "http://*.elevatics.online",
681
+ "https://www.elevatics.online",
682
+ "http://www.elevatics.online",
683
+ "https://*.elevatics.ai",
684
+ "http://*.elevatics.ai",
685
+ "https://www.elevatics.ai",
686
+ "http://www.elevatics.ai",
687
  "https://pvanand-specialized-agents.hf.space"
688
  ],
689
  allow_credentials=True,