Spaces:
Sleeping
Sleeping
Commit ·
c86d2cd
1
Parent(s): 6e02ff7
Update CORS for Vercel deployment
Browse files
main.py
CHANGED
|
@@ -34,6 +34,7 @@ app.add_middleware(
|
|
| 34 |
CORSMiddleware,
|
| 35 |
allow_origins=[
|
| 36 |
"http://localhost:3000",
|
|
|
|
| 37 |
"https://*.vercel.app",
|
| 38 |
],
|
| 39 |
allow_credentials=True,
|
|
|
|
| 34 |
CORSMiddleware,
|
| 35 |
allow_origins=[
|
| 36 |
"http://localhost:3000",
|
| 37 |
+
"https://skillbridge9.vercel.app",
|
| 38 |
"https://*.vercel.app",
|
| 39 |
],
|
| 40 |
allow_credentials=True,
|