Spaces:
Running
Running
Update main.py
Browse files
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
|
671 |
-
"http
|
672 |
-
"https://
|
673 |
-
"http://
|
674 |
-
"https
|
675 |
-
"http
|
676 |
-
"https://elevatics.
|
677 |
-
"http://elevatics.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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,
|