Skip to content

Commit

Permalink
Merge pull request #19 from CanopyTax/ws-localhost
Browse files Browse the repository at this point in the history
Ws localhost
  • Loading branch information
frehner authored Sep 16, 2019
2 parents 25c77ba + d1e7928 commit a822074
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/canopy-webpack-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
} : {}
};
Expand Down

0 comments on commit a822074

Please sign in to comment.