CodeGenieApp / serverless-express

Run Express and other Node.js frameworks on AWS Serverless technologies such as Lambda, API Gateway, Lambda@Edge, and more.
https://codegenie.codes
Apache License 2.0
5.17k stars 670 forks source link

Support for Lamda function URL #616

Open robin-jerome opened 1 year ago

robin-jerome commented 1 year ago

Is work underway to support Lambda function URLs as mentioned in https://docs.aws.amazon.com/lambda/latest/dg/lambda-urls.html? Could custom mapper be used to get this to work?

thadeu commented 1 year ago

What is the problem?

bflorian commented 1 year ago

Looks to me like the path property is not being picked up from the Lambda function URL event. Any path results in a response from the root (/) route.

bflorian commented 1 year ago

Nevermind. I was using the serverless-express package. The @vendia/serverless-express package handles paths just fine.