aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video.js')
-rw-r--r--server/models/video.js2
1 files changed, 1 insertions, 1 deletions
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 () {
155 baseUrlWs = constants.CONFIG.WEBSERVER.WS + '://' + constants.CONFIG.WEBSERVER.HOSTNAME + ':' + constants.CONFIG.WEBSERVER.PORT 155 baseUrlWs = constants.CONFIG.WEBSERVER.WS + '://' + constants.CONFIG.WEBSERVER.HOSTNAME + ':' + constants.CONFIG.WEBSERVER.PORT
156 } else { 156 } else {
157 baseUrlHttp = constants.REMOTE_SCHEME.HTTP + '://' + this.podHost 157 baseUrlHttp = constants.REMOTE_SCHEME.HTTP + '://' + this.podHost
158 baseUrlWs = constants.REMOTE_SCHEME.WS + this.podHost 158 baseUrlWs = constants.REMOTE_SCHEME.WS + '://' + this.podHost
159 } 159 }
160 160
161 const xs = baseUrlHttp + constants.STATIC_PATHS.TORRENTS + this.getTorrentName() 161 const xs = baseUrlHttp + constants.STATIC_PATHS.TORRENTS + this.getTorrentName()