dwyl/learn-aws-lambda
在 GitHub 查看How to *programatically* enable CORS for your API Gateway API?
Open
#77 建立於 2016年4月30日
enhancementhelp wantedquestion
倉庫指標
- Star
- (1,037 star)
- PR 合併指標
- (平均合併 16分鐘) (30 天內合併 1 個 PR)
描述
Enabling CORS via the Web UI is easy: http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-cors.html
what we need is a way to do it using the aws-sdk so that we can deploy our API with a single command.