dependabot[bot] on npm_and_yarn
Bump shell-quote from 1.7.2 to … (compare)
dependabot[bot] on npm_and_yarn
Bump ajv from 6.11.0 to 6.12.6 … (compare)
dependabot[bot] on npm_and_yarn
Bump cached-path-relative from … (compare)
dependabot[bot] on npm_and_yarn
Bump path-parse from 1.0.6 to 1… (compare)
dependabot[bot] on npm_and_yarn
Bump glob-parent from 5.1.0 to … (compare)
dependabot[bot] on npm_and_yarn
Bump ws from 7.2.1 to 7.4.6 Bu… (compare)
var Tracker = require('bittorrent-tracker/server')
var tracker = new Tracker({ ws: true, udp: false, http: false, trustProxy: true })
// Redirect http://tracker.btorrent.xyz to website homepage
tracker.http.on('request', function (req, res, opts) {
if (req.method === 'GET' && req.url === '/') {
res.writeHead(301, { 'Location': 'https://btorrent.xyz' })
res.end()
}
}