From 8e124f999b8cf7d461ef7a923711d18edc69d84c Mon Sep 17 00:00:00 2001 From: Bigard Florian Date: Wed, 23 Nov 2016 13:34:07 +0100 Subject: Server: fix magnet tracker websocket url for remote videos --- server/models/video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/models') diff --git a/server/models/video.js b/server/models/video.js index de3d9f644..3d7c16f0d 100644 --- a/server/models/video.js +++ b/server/models/video.js @@ -155,7 +155,7 @@ function generateMagnetUri () { baseUrlWs = constants.CONFIG.WEBSERVER.WS + '://' + constants.CONFIG.WEBSERVER.HOSTNAME + ':' + constants.CONFIG.WEBSERVER.PORT } else { baseUrlHttp = constants.REMOTE_SCHEME.HTTP + '://' + this.podHost - baseUrlWs = constants.REMOTE_SCHEME.WS + this.podHost + baseUrlWs = constants.REMOTE_SCHEME.WS + '://' + this.podHost } const xs = baseUrlHttp + constants.STATIC_PATHS.TORRENTS + this.getTorrentName() -- cgit v1.2.3