diff --git a/backend/api.py b/backend/api.py index 84cce089..346ebdb6 100644 --- a/backend/api.py +++ b/backend/api.py @@ -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"],