diff --git a/examples/renderer-aws-lambda/index.js b/examples/renderer-aws-lambda/index.js index f12ae46c..53bff1f1 100644 --- a/examples/renderer-aws-lambda/index.js +++ b/examples/renderer-aws-lambda/index.js @@ -1,5 +1,3 @@ const { createChromeAWSLambdaRenderer } = require('@loki/renderer-aws-lambda'); -module.exports = { - handler: createChromeAWSLambdaRenderer(), -}; +exports.handler = createChromeAWSLambdaRenderer();