From f40bbe3146553ef45515ee6b6d93ce6028f045ca Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 28 Dec 2017 08:49:08 +0100 Subject: Fix preview 404 --- server/lib/cache/videos-preview-cache.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'server/lib/cache') diff --git a/server/lib/cache/videos-preview-cache.ts b/server/lib/cache/videos-preview-cache.ts index ea959076d..930298dbe 100644 --- a/server/lib/cache/videos-preview-cache.ts +++ b/server/lib/cache/videos-preview-cache.ts @@ -56,7 +56,6 @@ class VideosPreviewCache { } private saveRemotePreviewAndReturnPath (video: VideoModel) { - return new Promise((res, rej) => { const req = fetchRemoteVideoPreview(video, rej) const path = join(CACHE.DIRECTORIES.PREVIEWS, video.getPreviewName()) -- cgit v1.2.3