We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd94fcf commit d1be96aCopy full SHA for d1be96a
src/index.js
@@ -34,6 +34,7 @@ app.listen(process.env.PORT || 3000, () => {
34
35
const handler = serverless(app)
36
37
-module.exports = async (event, context, callback) => {
38
- return await handler(event, context, callback)
+exports.handler = async (event, context, callback) => {
+ const response = await handler(event, context, callback)
39
+ return response
40
}
0 commit comments