From b9260e07932e19009ca4e9b35543a25c75a6759a Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Wed, 3 Jun 2015 22:44:23 +0200 Subject: use rc to get rid of hardcoded configuration --- config.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config.js (limited to 'config.js') 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' +}) -- cgit v1.2.3