Skip to content

Commit 28189a0

Browse files
committed
server tests: fix serverType in announceUrl
1 parent f77015c commit 28189a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function serverTest (t, serverType) {
2626
})
2727

2828
server.listen(function (port) {
29-
var announceUrl = 'http://127.0.0.1:' + port + '/announce'
29+
var announceUrl = serverType + '://127.0.0.1:' + port + '/announce'
3030

3131
var client = new Client(peerId, 6881, {
3232
infoHash: infoHash,

0 commit comments

Comments
 (0)