Skip to content

Commit

Permalink
feat: enable relay by default (no hop)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobheun committed Oct 18, 2018
1 parent 3226632 commit 854bb50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const OptionsSchema = Joi.object({
config: Joi.object().keys({
peerDiscovery: Joi.object().allow(null),
relay: Joi.object().keys({
enabled: Joi.boolean().default(false),
enabled: Joi.boolean().default(true),
hop: Joi.object().keys({
enabled: Joi.boolean().default(false),
active: Joi.boolean().default(false)
Expand Down
2 changes: 1 addition & 1 deletion test/config.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe('configuration', () => {
dht: false
},
relay: {
enabled: false
enabled: true
}
}
}
Expand Down

0 comments on commit 854bb50

Please sign in to comment.