serverless-express
serverless-express copied to clipboard
Run Express and other Node.js frameworks on AWS Serverless technologies such as Lambda, API Gateway, Lambda@Edge, and more.
I recently needed to slightly modify the eventSource getRequest function but did't need to modify the getResponse function. Could you export all of the eventSource aws getRequest & getResponse functions...
Hello, I'm trying to use a custom domain but I have the following error: I'm using example: basic-starter-api-gateway-v2-typescript/ ``` CREATE_FAILED AWS::ApiGateway::BasePathMapping MyApiBasePathMapping Resource handler returned message: Mixing of REST APIs...
When making a request in NodeJS v19.1.0 the request headers and body don't get passed through correctly. After some debugging I've narrowed it down to this Object.assign in the request...
When using API Gateway (v2 payload) with a custom domain and base path mapping, for example `api.example.com/v1`, where api.example.com is the custom domain and v1 is the base path, API...
When you set multiple cookies it only sets the first one. I have an application that has a csrf middleware, it one of the first middleware to be initialized. My...
I've got requests passing through a Cloudfront distribution directly to a lambda, no cache, passing all request headers with it. I'm using this approach because API Gateway and ALB are...
When using express.static, the files within the static path do not load and the endpoint (Application Load Balancer) returns a 502. ` app.use(express.static(path.resolve("./public"))); ` I was trying to add a...
This isn't a bug in this project *per se* but something I thought I should bring to your attention. Setting more than one header of the same name in a...
Given an ALB event with multiValueQueryStringParameters but one of the value fails `decodeURIComponent` , the promise isnt handled at all. Expectation is that it should return an error and consumers...
I'm not using any middleware except express.json and cors. this is lambda.ts ``` import serverlessExpress from "@codegenie/serverless-express"; import app from "./app"; exports.handler = serverlessExpress({ app, binaryMimeTypes: ["application/x-zip", "application/zip"], }); ```...