diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2019-08-04 21:31:02 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2019-08-04 21:31:02 +0300 |
commit | 5af4d09537f361272fc4d0d33bad5240c520e008 (patch) | |
tree | 88132994a09b318b820f5eb806a3749a35d8b48e /lib | |
parent | 9355dd7be1d3a93eb16131a2cb93fa62e25c7711 (diff) |
remove require('url')
For: https://github.com/webtorrent/webtorrent/issues/1681
Diffstat (limited to 'lib')
-rw-r--r-- | lib/server.js | 1 |
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() |