diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-14 15:10:01 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-15 10:23:40 +0100 |
commit | 53d43fc9147059f3d265140e025a6ebd802481dc (patch) | |
tree | bc8b0f7818793590c90134b40c8720d31bd2ca35 | |
parent | 56f0876184a792cff3c6123c95d9e52eaa450a28 (diff) | |
download | PeerTube-53d43fc9147059f3d265140e025a6ebd802481dc.tar.gz PeerTube-53d43fc9147059f3d265140e025a6ebd802481dc.tar.zst PeerTube-53d43fc9147059f3d265140e025a6ebd802481dc.zip |
Remove unused tracker param
-rw-r--r-- | server/controllers/tracker.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/controllers/tracker.ts b/server/controllers/tracker.ts index 42a5d7f9b..915981f67 100644 --- a/server/controllers/tracker.ts +++ b/server/controllers/tracker.ts | |||
@@ -22,7 +22,6 @@ const trackerServer = new TrackerServer({ | |||
22 | http: false, | 22 | http: false, |
23 | udp: false, | 23 | udp: false, |
24 | ws: false, | 24 | ws: false, |
25 | dht: false, | ||
26 | filter: async function (infoHash, params, cb) { | 25 | filter: async function (infoHash, params, cb) { |
27 | if (CONFIG.TRACKER.ENABLED === false) { | 26 | if (CONFIG.TRACKER.ENABLED === false) { |
28 | return cb(new Error('Tracker is disabled on this instance.')) | 27 | return cb(new Error('Tracker is disabled on this instance.')) |