Spaces:
Sleeping
Sleeping
Update app/main.py
Browse files- app/main.py +2 -1
app/main.py
CHANGED
@@ -18,7 +18,8 @@ app.add_middleware(
|
|
18 |
CORSMiddleware,
|
19 |
# allow_origins=["*"],
|
20 |
# allow_origins=["https://jubilant-barnacle.vercel.app"],
|
21 |
-
allow_origins=["https://jubilant-barnacle-r95p.vercel.app", "http://localhost:3000"],
|
|
|
22 |
allow_credentials=True,
|
23 |
allow_methods=["*"],
|
24 |
allow_headers=["*"],
|
|
|
18 |
CORSMiddleware,
|
19 |
# allow_origins=["*"],
|
20 |
# allow_origins=["https://jubilant-barnacle.vercel.app"],
|
21 |
+
# allow_origins=["https://jubilant-barnacle-r95p.vercel.app", "http://localhost:3000"],
|
22 |
+
allow_origins=["https://jubilant-barnacle-r95p.vercel.app", "http://localhost:3000", "*"],
|
23 |
allow_credentials=True,
|
24 |
allow_methods=["*"],
|
25 |
allow_headers=["*"],
|