Skip to content

Commit

Permalink
fix: set default host to '0.0.0.0'
Browse files Browse the repository at this point in the history
Ref #108
  • Loading branch information
robertsLando committed Oct 20, 2023
1 parent 03caf30 commit 68f7b3c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ A configuration file is structured in the following way:
```js
module.exports = {
protos: ['tcp'],
host: '127.0.0.1',
host: '0.0.0.0',
port: 1883,
wsPort: 3000,
wssPort: 4000,
Expand Down
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
// SERVERS
protos: ['tcp'],
host: '127.0.0.1',
host: '0.0.0.0',
port: 1883,
wsPort: 3000,
wssPort: 4000,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"scripts": {
"test": "npm run lint:standard && npm run test:ci",
"lint:standard": "standard --verbose | snazzy",
"docker:build": "docker build -t moscajs/aedes:latest -f docker/Dockerfile .",
"test:ci": "tap test/*.test.js",
"release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it --disable-metrics"
},
Expand Down

0 comments on commit 68f7b3c

Please sign in to comment.