mirror of
https://github.com/logos-storage/bittorrent-tracker.git
synced 2026-01-03 21:43:12 +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…
x
Reference in New Issue
Block a user