Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,8 @@ app = FastAPI(
|
|
| 69 |
# Set up CORS middleware
|
| 70 |
app.add_middleware(
|
| 71 |
CORSMiddleware,
|
| 72 |
-
allow_origins=["testing-
|
|
|
|
| 73 |
allow_credentials=True,
|
| 74 |
allow_methods=["*"],
|
| 75 |
allow_headers=["*"],
|
|
|
|
| 69 |
# Set up CORS middleware
|
| 70 |
app.add_middleware(
|
| 71 |
CORSMiddleware,
|
| 72 |
+
allow_origins=["https://testing-hardikkandpals-projects.vercel.app",
|
| 73 |
+
"https://testing-hardikkandpals-projects.vercel.app/"], # Frontend URL
|
| 74 |
allow_credentials=True,
|
| 75 |
allow_methods=["*"],
|
| 76 |
allow_headers=["*"],
|