add staging to cors

This commit is contained in:
Adam Cohen Hillel 2025-04-21 01:29:57 +01:00
parent aa93cd2d74
commit aec160eebf
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ app = FastAPI(lifespan=lifespan)
app.add_middleware(
CORSMiddleware,
allow_origins=["https://www.suna.so", "https://suna.so", "http://localhost:3000"],
allow_origins=["https://www.suna.so", "https://suna.so", "https://staging.suna.so", "http://localhost:3000"],
allow_credentials=True,
allow_methods=["GET", "POST", "PUT", "DELETE", "OPTIONS"],
allow_headers=["Content-Type", "Authorization"],