diff options
| author | Chris Ball <chris@printf.net> | 2015-05-28 12:08:21 -0400 |
|---|---|---|
| committer | Chris Ball <chris@printf.net> | 2015-05-28 12:08:29 -0400 |
| commit | 4d990ce5e25dda0b7d5730b26d932c866694f356 (patch) | |
| tree | 97d7135a70bae82c8d66ee20c3e54d98107598b6 /git-remote-gittorrent | |
| parent | 2dc46f57a736b238e65b46f7481f8d6c59aca175 (diff) | |
Use new bootstrap servers
Diffstat (limited to 'git-remote-gittorrent')
| -rwxr-xr-x | git-remote-gittorrent | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/git-remote-gittorrent b/git-remote-gittorrent index 2716953..ef74a21 100755 --- a/git-remote-gittorrent +++ b/git-remote-gittorrent @@ -19,8 +19,9 @@ function die (error) { // Gotta enable color manually because stdout isn't a tty. var chalk = new Chalk.constructor({enabled: true}); +var bootstrap = ['dht.gittorrent.org:6881', 'core.gittorrent.org:6881'] var dht = new DHT({ - bootstrap: ['three.printf.net:6882'] + bootstrap: bootstrap }) var url = process.argv[3] @@ -101,7 +102,7 @@ function get_infohash (ref) { wire.ut_gittorrent.on('receivedTorrent', function (infoHash) { var client = new WebTorrent({ dht: { - bootstrap: ['three.printf.net:6882'] + bootstrap: bootstrap }, tracker: false }) |
