Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2019-08-04 21:31:02 +0300
committerFeross Aboukhadijeh <feross@feross.org>2019-08-04 21:31:02 +0300
commit5af4d09537f361272fc4d0d33bad5240c520e008 (patch)
tree88132994a09b318b820f5eb806a3749a35d8b48e /lib
parent9355dd7be1d3a93eb16131a2cb93fa62e25c7711 (diff)
remove require('url')
For: https://github.com/webtorrent/webtorrent/issues/1681
Diffstat (limited to 'lib')
-rw-r--r--lib/server.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/server.js b/lib/server.js
index cea77fa..0dcce21 100644
--- a/lib/server.js
+++ b/lib/server.js
@@ -3,7 +3,6 @@ const http = require('http')
const mime = require('mime')
const pump = require('pump')
const rangeParser = require('range-parser')
-const URL = require('url').URL || window.URL // TODO: remove when we drop Node 8 support
function Server (torrent, opts = {}) {
const server = http.createServer()