You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the ALB event in serverless.ts, specifying the response headers in handler.ts doesn't reflect in the actual response.
No error messages are displayed.
Sample Code
Here is a minimal code snippet to reproduce the issue.
Hey everyone! I opened a PR to address this. I've been running it locally using patch-package but hopefully if the PR is accepted it will be fixed for everyone needing to use ALBs.
Bug Report
Current Behavior
When using the ALB event in
serverless.ts
, specifying the responseheaders
inhandler.ts
doesn't reflect in the actual response.No error messages are displayed.
Sample Code
Here is a minimal code snippet to reproduce the issue.
Expected Behavior/Code
The expected request and response should be:
Environment
serverless
version: 3.34.0serverless-offline
version: 12.0.4@serverless/typescript
version: 3.30.1node.js
version: v18.17.0OS
: Debian GNU/Linux 11 (bullseye) (Running on Docker/DevContainer with WSL2/Windows 10)Possible Solution
None
Additional Context/Screenshots
None
The text was updated successfully, but these errors were encountered: