Skip to content

Commit

Permalink
Use Node.js 16 syntax for AWS Lambda module handler
Browse files Browse the repository at this point in the history
  • Loading branch information
techeverri committed Oct 22, 2023
1 parent 5736e1c commit f00a514
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/renderer-aws-lambda/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const { createChromeAWSLambdaRenderer } = require('@loki/renderer-aws-lambda');

module.exports = {
handler: createChromeAWSLambdaRenderer(),
};
exports.handler = createChromeAWSLambdaRenderer();

0 comments on commit f00a514

Please sign in to comment.