DEV Community

Discussion on: Using lambda to get around cors

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Looks like I choose wisely, it was the latter. My personal API oauth token is now in environmental variables in both local .env file.

I wondered how much work my lambda should do alter the result in a format I need so compute would do all the work, but instead I went with returning the data as is.

Either way this is my first lambda and a great intro into serverless.