From 28189a0b120a81f460b61bd4b4f3e6c997345a9f Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 5 Dec 2014 02:41:57 +0100 Subject: [PATCH] server tests: fix serverType in announceUrl --- test/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/server.js b/test/server.js index 8570257..c27b4f5 100644 --- a/test/server.js +++ b/test/server.js @@ -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,