aws / aws/aws-lambda-runtime-interface-emulator

Question: Is it possible to configure CORS?

未关闭
#16 1 条评论 21 个 reaction 已指派 0 人 在 GitHub 查看
documentation enhancement
主要语言
Go
星标
1.1k
派生
118
平均合并
42 分钟
30 天内合并 PR
2

描述

Hi, y'all! First of all thanks for your great work. My first time using AWS Lambda tooling and I'm really enjoying the experience so far 😊

My question because I didn't really find anything in the docs (which makes sense as the product is rather new): is it possible to configure CORS for the local RIE docker container which holds my custom function? Once it is deployed I'd imagine you would configure this directly in AWS but until then I currently don't see a way how I'd tell it to set CORS headers.

It's not the biggest of problems, as I could just use another pass-through CORS proxy locally. I was just wondering whether this was already a supported scenario.

Thanks a lot in advance!

贡献指南

打开贡献指南

调研方向

The issue names the local RIE Docker container, custom function, and CORS headers but no source file or test. Start by checking the existing documentation and local request handling for CORS configuration; done would be a documented supported way to set CORS headers locally, or a clear statement that it is not supported.

由索引模型根据 Issue 内容生成。

评估

技术栈
aws, docker, go
领域
api, cloud, tooling
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。