From 3737bbafb109a79f77c3047eb9b2791e6b57344e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 23 Oct 2016 19:41:17 +0200 Subject: Server: host -> hostname (host = hostname + port) --- 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 05c4f51cb..be3e80598 100644 --- a/server/models/video.js +++ b/server/models/video.js @@ -102,7 +102,7 @@ VideoSchema.pre('save', function (next) { function (callback) { const options = { announceList: [ - [ constants.CONFIG.WEBSERVER.WS + '://' + constants.CONFIG.WEBSERVER.HOST + ':' + constants.CONFIG.WEBSERVER.PORT + '/tracker/socket' ] + [ constants.CONFIG.WEBSERVER.WS + '://' + constants.CONFIG.WEBSERVER.HOSTNAME + ':' + constants.CONFIG.WEBSERVER.PORT + '/tracker/socket' ] ], urlList: [ constants.CONFIG.WEBSERVER.URL + constants.STATIC_PATHS.WEBSEED + video.filename -- cgit v1.2.3