awslabs / aws-lambda-go-api-proxy

lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin (https://gin-gonic.github.io/gin/ ) to AWS Lambda and Amazon API Gateway.
Apache License 2.0
1.09k stars 200 forks source link

How to enable CORS with custom headers #157

Open basil-github opened 2 years ago

basil-github commented 2 years ago

How to enable CORS with custom headers for an AWS Lambda function behind API Gateway. I'm stuck please add a comment. I'm using proxy,