aboutsummaryrefslogtreecommitdiff
path: root/config.js
diff options
context:
space:
mode:
authorChris Ball <chris@printf.net>2015-06-03 16:55:59 -0400
committerChris Ball <chris@printf.net>2015-06-03 16:55:59 -0400
commite5ab153e398cd2544515f2560641b8e1f010a3a7 (patch)
tree081a63f3bdd481c16c77fc64ca93bfa185eaad55 /config.js
parent60877cc734120057a069ca5ba220ddf694774977 (diff)
parentb9260e07932e19009ca4e9b35543a25c75a6759a (diff)
Merge pull request #42 from ralphtheninja/master
use rc to get rid of hardcoded configuration
Diffstat (limited to 'config.js')
-rw-r--r--config.js11
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'
+})