projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a078c15
)
Server: fix magnet tracker websocket url for remote videos
author
Bigard Florian
<florian.bigard@gmail.com>
Wed, 23 Nov 2016 12:34:07 +0000
(13:34 +0100)
committer
GitHub
<noreply@github.com>
Wed, 23 Nov 2016 12:34:07 +0000
(13:34 +0100)
server/models/video.js
patch
|
blob
|
history
diff --git
a/server/models/video.js
b/server/models/video.js
index de3d9f64415dd7cced6ec148f834ea29e8c2e700..3d7c16f0d0dfd5cf5169d68cdff9e2f07fc3a9e0 100644
(file)
--- 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()