Skip to content

Commit

Permalink
Moving cors to POST
Browse files Browse the repository at this point in the history
  • Loading branch information
tstibbs committed Apr 30, 2024
1 parent f90211a commit 3395190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/utils/src/stacks/s3-temp-web-storage/lib/stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class S3TempWebStorageResources {
}
if (corsAllowedOrigins != null) {
httpApiProps.corsPreflight = {
allowMethods: [CorsHttpMethod.GET],
allowMethods: [HttpMethods.POST],
allowOrigins: corsAllowedOrigins
}
}
Expand Down

0 comments on commit 3395190

Please # to comment.