DEV Community

Discussion on: How to deploy a Node.js application to AWS Lambda using Serverless

Collapse
harrylincoln profile image
Harry Lincoln

Hey Adnan, just something to add to your banging tutorial...

There's a bit of a CORS issue with my setup on the express side, regardless of what you set in the API gateway.

The final step was to make sure that Express could handle it with a cheeky include of this:
npmjs.com/package/cors