Move og-image-gen out of functions folder

This commit is contained in:
Kurt Hutten
2021-08-01 09:42:15 +10:00
parent 22f3fb6e3e
commit caf944716b

View File

@@ -1,3 +1,6 @@
// TODO this should be in the functions folder.
// Got the proof of concept working locally, but even though chrome-aws-lambda is supposed to fit into a AWS lambda it did not for me
// in the mean time this is causing builds to fail so moved it out here.
import { builder } from '@netlify/functions'
const { headless, executablePath, puppeteer} = require('chrome-aws-lambda')