Skip to content

Commit d1be96a

Browse files
update
1 parent fd94fcf commit d1be96a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ app.listen(process.env.PORT || 3000, () => {
3434

3535
const handler = serverless(app)
3636

37-
module.exports = async (event, context, callback) => {
38-
return await handler(event, context, callback)
37+
exports.handler = async (event, context, callback) => {
38+
const response = await handler(event, context, callback)
39+
return response
3940
}

0 commit comments

Comments
 (0)