mantil-io / mantil

Build your AWS Lambda-based Go backends quicker than ever
https://www.mantil.com
MIT License
109 stars 3 forks source link

No need to set CORS headers in mantil.go #108

Closed ianic closed 2 years ago

ianic commented 2 years ago

We are letting HTTP API Gateway to set CORS headers. And mantil.go is also setting CORS headers on response That will be removed by API Gateway in this configuration.

| If you configure CORS for an API, API Gateway ignores CORS headers returned from your backend integration. reference

IvanVlasic commented 2 years ago

Solved in commit