This commit is contained in:
Peter Maquiran
2021-07-15 12:29:37 +01:00
parent 77a59e5128
commit bf5b604e1b
4 changed files with 7 additions and 8 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ require('dotenv').config()
const port = process.env.PUPPETEER_PORT
const host = process.env.PUPPETEER_HOST
const openChrome = process.env.PUPPETEER_OPEN_CHROME
const chromPath = process.env.PUPPETEER_CHROME_PATH
module.exports = {
server: {
@@ -20,7 +21,7 @@ module.exports = {
width:1200,
height:1080
},
executablePath: ''
executablePath: chromPath
},
browserContext: 'default',