Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Jul 2, 2022
1 parent e87bf48 commit 1f66cba
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/scenario/serverless-http-with-express/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,4 @@ app.post('/api/foo', (req, res) => {
})
})

// const handler = serverless(app)

// exports.handler = async (context, req) => {
// context.res = await handler(context, req)
// }

module.exports.handler = serverless(app)
exports.handler = serverless(app)

0 comments on commit 1f66cba

Please sign in to comment.