diff --git a/src/handler.js b/src/handler.js index 5623642..2de05c0 100644 --- a/src/handler.js +++ b/src/handler.js @@ -77,11 +77,8 @@ export const handler = startServerAndCreateLambdaHandler( }, body: '', }; - return callback(null, response); + return response; } - - // Handle regular requests - return callback(null); }, ], cors: {