Open
Description
Hi there,
I'm trying to use your fine docs to run Express as a serverless function on Netlify, but my function file is written in TypeScript, which is necessary for my use case.
I've tried:
const handler = serverless(app);
export { handler };
Unfortunately, this results in a 404 when I try to do a get
on a route when the function is being served by netlify functions:serve
, using the Netlify CLI.
Am I missing a step here? Did I do the export wrong? A TypeScript example would be very useful here.
Thanks!
Metadata
Assignees
Labels
No labels