Spaces:
Sleeping
Sleeping
allow credential cors
Browse files
main.py
CHANGED
|
@@ -47,6 +47,7 @@ app = FastAPI(title="Voice Agent Service", version=VERSION)
|
|
| 47 |
app.add_middleware(
|
| 48 |
CORSMiddleware,
|
| 49 |
allow_origins=["*"],
|
|
|
|
| 50 |
allow_methods=["*"],
|
| 51 |
allow_headers=["*"],
|
| 52 |
)
|
|
|
|
| 47 |
app.add_middleware(
|
| 48 |
CORSMiddleware,
|
| 49 |
allow_origins=["*"],
|
| 50 |
+
allow_credentials=True,
|
| 51 |
allow_methods=["*"],
|
| 52 |
allow_headers=["*"],
|
| 53 |
)
|