Bot commited on
Commit ·
987546a
1
Parent(s): 860ad93
Deploy backend Phase 2
Browse files
main.py
CHANGED
|
@@ -61,6 +61,7 @@ app.add_middleware(
|
|
| 61 |
"http://0.0.0.0:3000", # Docker/WSL compatibility
|
| 62 |
"http://0.0.0.0:3001", # Docker/WSL compatibility
|
| 63 |
"http://0.0.0.0:3002", # Docker/WSL compatibility
|
|
|
|
| 64 |
],
|
| 65 |
allow_credentials=True,
|
| 66 |
allow_methods=["*"], # Allow all HTTP methods (GET, POST, PATCH, DELETE, etc.)
|
|
|
|
| 61 |
"http://0.0.0.0:3000", # Docker/WSL compatibility
|
| 62 |
"http://0.0.0.0:3001", # Docker/WSL compatibility
|
| 63 |
"http://0.0.0.0:3002", # Docker/WSL compatibility
|
| 64 |
+
"https://phase2-todo-app-v2.vercel.app", # Vercel production deployment
|
| 65 |
],
|
| 66 |
allow_credentials=True,
|
| 67 |
allow_methods=["*"], # Allow all HTTP methods (GET, POST, PATCH, DELETE, etc.)
|