diff options
| author | Lars-Magnus Skog <ralphtheninja@riseup.net> | 2015-06-03 22:44:23 +0200 |
|---|---|---|
| committer | Lars-Magnus Skog <ralphtheninja@riseup.net> | 2015-06-03 22:49:36 +0200 |
| commit | b9260e07932e19009ca4e9b35543a25c75a6759a (patch) | |
| tree | b62e78030418afe52b61a9344b7dcfbe5f13c69d /config.js | |
| parent | 0af44fb305e1bc6af86e231959442edf14ad4649 (diff) | |
use rc to get rid of hardcoded configuration
Diffstat (limited to 'config.js')
| -rw-r--r-- | config.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config.js b/config.js new file mode 100644 index 0000000..c54f0cd --- /dev/null +++ b/config.js @@ -0,0 +1,11 @@ +module.exports = require('rc')('gittorrent', { + dht: { + bootstrap: [ + 'dht.gittorrent.org:6881', + 'core.gittorrent.org:6881' + ], + listen: 6881, + announce: 30000 + }, + key: 'ed25519.key' +}) |
