diff options
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/video/video.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index d22d57310..77c0400d8 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -769,7 +769,8 @@ export class VideoModel extends Model<VideoModel> { | |||
769 | createTorrentAndSetInfoHash = async function (videoFile: VideoFileModel) { | 769 | createTorrentAndSetInfoHash = async function (videoFile: VideoFileModel) { |
770 | const options = { | 770 | const options = { |
771 | announceList: [ | 771 | announceList: [ |
772 | [ CONFIG.WEBSERVER.WS + '://' + CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.WEBSERVER.PORT + '/tracker/socket' ] | 772 | [ CONFIG.WEBSERVER.WS + '://' + CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.WEBSERVER.PORT + '/tracker/socket' ], |
773 | [ CONFIG.WEBSERVER.URL + '/tracker/announce' ] | ||
773 | ], | 774 | ], |
774 | urlList: [ | 775 | urlList: [ |
775 | CONFIG.WEBSERVER.URL + STATIC_PATHS.WEBSEED + this.getVideoFilename(videoFile) | 776 | CONFIG.WEBSERVER.URL + STATIC_PATHS.WEBSEED + this.getVideoFilename(videoFile) |