Skip to content

Commit 5926331

Browse files
ryan-williamsclaude
andcommitted
fix CORS config: drop OPTIONS from AllowMethods (auto-handled by Lambda Function URLs)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d179826 commit 5926331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export async function deploy(config: CorsProxyConfig): Promise<DeployResult> {
246246
AuthType: "NONE",
247247
Cors: {
248248
AllowOrigins: config.cors.origins,
249-
AllowMethods: ["GET", "HEAD", "OPTIONS"],
249+
AllowMethods: ["GET", "HEAD"],
250250
MaxAge: config.cors.maxAge,
251251
},
252252
}))

0 commit comments

Comments
 (0)