From 3114fb6867816641f756d20b6725ef758b1c5bbe Mon Sep 17 00:00:00 2001 From: AF <> Date: Mon, 16 Sep 2019 15:02:40 -0600 Subject: [PATCH 1/2] change to hit localhost for the ws for csp purposes --- src/canopy-webpack-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/canopy-webpack-config.js b/src/canopy-webpack-config.js index 1cde1b7..9e41667 100644 --- a/src/canopy-webpack-config.js +++ b/src/canopy-webpack-config.js @@ -112,7 +112,7 @@ module.exports = function(name, overridesConfig) { key: fs.readFileSync(`${homedir}/.canopy-ssl/key.pem`) }, disableHostCheck: true, - sockHost: host, + sockHost: host === "0.0.0.0" ? "localhost" : host, // Use localhost for the socket connection for CSP purposes sockPort: port, } : {} }; From d1e79281edc519cc5da06929ff5d66639867e158 Mon Sep 17 00:00:00 2001 From: AF <> Date: Mon, 16 Sep 2019 15:04:46 -0600 Subject: [PATCH 2/2] 3.0.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 57f910a..645c3bd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "canopy-webpack-config", - "version": "3.0.2", + "version": "3.0.3", "description": "Some defaults for webpack configs at canopy", "main": "src/canopy-webpack-config.js", "repository": "git@github.com:CanopyTax/canopy-webpack-config.git",