mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-13 10:56:25 +00:00
server tests: fix serverType in announceUrl
This commit is contained in:
parent
f77015c046
commit
28189a0b12
@ -26,7 +26,7 @@ function serverTest (t, serverType) {
|
||||
})
|
||||
|
||||
server.listen(function (port) {
|
||||
var announceUrl = 'http://127.0.0.1:' + port + '/announce'
|
||||
var announceUrl = serverType + '://127.0.0.1:' + port + '/announce'
|
||||
|
||||
var client = new Client(peerId, 6881, {
|
||||
infoHash: infoHash,
|
||||
|
Loading…
Reference in New Issue
Block a user