You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 9, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -837,6 +837,16 @@ This feature comes with the following restrictions:
837
837
- *Path parameters are only supported when `resp` is configured as`http`.*
838
838
- *Individual path parameter values are not included as separate event parameters. Users have to manually parse values from the full `__ow_path` value.*
839
839
840
+
### CORS Support
841
+
842
+
API Gateway endpoints automatically include CORS headers for all endpoints under the service base path. This property can be disabled by manually configuring the `resources.apigw.cors` property.
843
+
844
+
```yaml
845
+
resources:
846
+
apigw:
847
+
cors: false
848
+
```
849
+
840
850
## Exporting Web Actions
841
851
842
852
Functions can be turned into "*web actions*" which return HTTP content without use of an API Gateway. This feature is enabled by setting an annotation (`web-export`) in the configuration file.
0 commit comments