Skip to content

Commit f34cf75

Browse files
committed
fix: allow POST requests in CORS settings
1 parent 4ed914d commit f34cf75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

titiler/cmr/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ async def lifespan(app: FastAPI):
146146
CORSMiddleware,
147147
allow_origins=settings.cors_origins,
148148
allow_credentials=True,
149-
allow_methods=["GET"],
149+
allow_methods=["GET", "POST"],
150150
allow_headers=["*"],
151151
)
152152

0 commit comments

Comments
 (0)