Skip to content

Commit

Permalink
Fix/add delete for api allow methods (#756)
Browse files Browse the repository at this point in the history
* add delete method in cros

* remove unsused method
  • Loading branch information
raylrui authored Dec 6, 2024
1 parent 1d0fca8 commit e7209f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/workload/components/api-gateway/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export class ApiGatewayConstruct extends Construct {
CorsHttpMethod.OPTIONS,
CorsHttpMethod.POST,
CorsHttpMethod.PATCH,
CorsHttpMethod.DELETE,
],
allowOrigins: props.corsAllowOrigins,
maxAge: Duration.days(10),
Expand Down

0 comments on commit e7209f7

Please sign in to comment.