Server: fix magnet tracker websocket url for remote videos

This commit is contained in:
Bigard Florian 2016-11-23 13:34:07 +01:00 committed by GitHub
parent a078c1556f
commit 8e124f999b
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ function generateMagnetUri () {
baseUrlWs = constants.CONFIG.WEBSERVER.WS + '://' + constants.CONFIG.WEBSERVER.HOSTNAME + ':' + constants.CONFIG.WEBSERVER.PORT baseUrlWs = constants.CONFIG.WEBSERVER.WS + '://' + constants.CONFIG.WEBSERVER.HOSTNAME + ':' + constants.CONFIG.WEBSERVER.PORT
} else { } else {
baseUrlHttp = constants.REMOTE_SCHEME.HTTP + '://' + this.podHost 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() const xs = baseUrlHttp + constants.STATIC_PATHS.TORRENTS + this.getTorrentName()