mirror of https://github.com/kortix-ai/suna.git
add staging to cors
This commit is contained in:
parent
aa93cd2d74
commit
aec160eebf
|
@ -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"],
|
||||
|
|
Loading…
Reference in New Issue