Skip to content

Commit 6154dcf

Browse files
committed
port over puppetry fix from chalkbeat #61
source: Chalkbeat@0d45709
1 parent 0aa5ecd commit 6154dcf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/puppetry.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = function(config) {
2525
title: "Capturing fallback..."
2626
});
2727
var puppet = await puppeteer.connect({
28-
browserURL: `http://localhost:${chrome.port}`,
28+
browserURL: `http://0.0.0.0:${chrome.port}`,
2929
defaultViewport: {
3030
width: 600,
3131
height: 800

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"minimatch": "^3.0.4",
3636
"minimist": "^1.2.0",
3737
"nodemon": "^2.0.7",
38-
"puppeteer-core": "^1.12.2",
38+
"puppeteer-core": "^14.3.0",
3939
"rollup": "^2.70.1",
4040
"typogr": "^0.6.8",
4141
"ws": "^6.1.2"

0 commit comments

Comments
 (0)