Spaces:
Sleeping
Sleeping
Update app/main.py
Browse files- app/main.py +6 -6
app/main.py
CHANGED
@@ -94,12 +94,12 @@ app.add_middleware(
|
|
94 |
CORSMiddleware,
|
95 |
allow_origins=[
|
96 |
"http://localhost:3000",
|
97 |
-
"http://localhost:3001",
|
98 |
-
"http://10.220.1.20:3000",
|
99 |
-
"http://10.220.1.20:3001",
|
100 |
-
"http://localhost:8000",
|
101 |
-
" http://10.250.13.239:8000",
|
102 |
-
"https://jubilant-barnacle-u2ap.vercel.app"
|
103 |
#"jubilant-barnacle-u2ap-czfa44ae5-sahar-nesaeis-projects.vercel.app",
|
104 |
],
|
105 |
allow_credentials=True,
|
|
|
94 |
CORSMiddleware,
|
95 |
allow_origins=[
|
96 |
"http://localhost:3000",
|
97 |
+
# "http://localhost:3001",
|
98 |
+
# "http://10.220.1.20:3000",
|
99 |
+
# "http://10.220.1.20:3001",
|
100 |
+
# "http://localhost:8000",
|
101 |
+
# " http://10.250.13.239:8000",
|
102 |
+
"https://jubilant-barnacle-u2ap.vercel.app" # main domain
|
103 |
#"jubilant-barnacle-u2ap-czfa44ae5-sahar-nesaeis-projects.vercel.app",
|
104 |
],
|
105 |
allow_credentials=True,
|