From 41b5da1d8cb41f5c49f0e0a01a54106c9a5925dd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 11 Nov 2016 15:44:08 +0100 Subject: Server: use preview image for opengraph --- 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 4f2be5c96..0da2cb8ab 100644 --- a/server/models/video.js +++ b/server/models/video.js @@ -160,7 +160,7 @@ function generateMagnetUri () { baseUrlHttp = constants.CONFIG.WEBSERVER.URL baseUrlWs = constants.CONFIG.WEBSERVER.WS + '://' + constants.CONFIG.WEBSERVER.HOSTNAME + ':' + constants.CONFIG.WEBSERVER.PORT } else { - baseUrlHttp = constants.REMOTE_SCHEME.HTTP + this.podUrl + baseUrlHttp = constants.REMOTE_SCHEME.HTTP + '://' + this.podUrl baseUrlWs = constants.REMOTE_SCHEME.WS + this.podUrl } -- cgit v1.2.3