]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix check script
authorChocobozzz <florian.bigard@gmail.com>
Thu, 19 Jan 2017 20:46:31 +0000 (21:46 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Thu, 19 Jan 2017 20:46:31 +0000 (21:46 +0100)
scripts/check.js

index a630514e657ee9496e01464da90bd842278c40ce..3ccfbb3b201ae6a0e1380acdbd9f9e63dbeffcfc 100755 (executable)
@@ -84,8 +84,8 @@ function checkCORSWebSeed (callback) {
 
 function checkTracker (callback) {
   const trackerUrl = constants.CONFIG.WEBSERVER.WS + '://' +
-                     constants.CONFIG.WEBSERVER.HOST + ':' +
-                     constants.CONFIG.WEBSERVER.PORT + '/tracker/socket'
+                     constants.CONFIG.WEBSERVER.HOST +
+                     '/tracker/socket'
   console.log('Checking tracker websocket (%s)...', trackerUrl)
 
   let ws = null