Skip to content

Commit

Permalink
Merge pull request #22 from regular/default-ws-incoming
Browse files Browse the repository at this point in the history
Add a 2nd default incoming for websocket connections
  • Loading branch information
cryptix authored Oct 17, 2018
2 parents a4f09e7 + ac1a2ef commit 2ea08c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ module.exports = function (name, override) {

if (!result.connections.incoming) {
result.connections.incoming = {
net: [{ host: result.host, port: result.port, scope: "public", "transform": "shs" }]
net: [{ host: result.host, port: result.port, scope: "public", "transform": "shs" }],
ws: [{ host: result.host, port: result.ws.port, scope: "device", "transform": "shs" }]
}
}
return result
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ssb-config",
"description": "load ssb config",
"version": "2.3.5",
"version": "2.3.6",
"homepage": "https://github.com/ssbc/ssb-config",
"repository": {
"type": "git",
Expand Down

0 comments on commit 2ea08c7

Please sign in to comment.