diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-28 08:49:08 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-28 08:49:08 +0100 |
commit | f40bbe3146553ef45515ee6b6d93ce6028f045ca (patch) | |
tree | 0f4190e652864916c19b4c5bf1acea57108d068b /server/lib/cache | |
parent | d50acfab69ce9e05b272dea6c4d34d52960ba14c (diff) | |
download | PeerTube-f40bbe3146553ef45515ee6b6d93ce6028f045ca.tar.gz PeerTube-f40bbe3146553ef45515ee6b6d93ce6028f045ca.tar.zst PeerTube-f40bbe3146553ef45515ee6b6d93ce6028f045ca.zip |
Fix preview 404
Diffstat (limited to 'server/lib/cache')
-rw-r--r-- | server/lib/cache/videos-preview-cache.ts | 1 |
1 files changed, 0 insertions, 1 deletions
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 { | |||
56 | } | 56 | } |
57 | 57 | ||
58 | private saveRemotePreviewAndReturnPath (video: VideoModel) { | 58 | private saveRemotePreviewAndReturnPath (video: VideoModel) { |
59 | |||
60 | return new Promise<string>((res, rej) => { | 59 | return new Promise<string>((res, rej) => { |
61 | const req = fetchRemoteVideoPreview(video, rej) | 60 | const req = fetchRemoteVideoPreview(video, rej) |
62 | const path = join(CACHE.DIRECTORIES.PREVIEWS, video.getPreviewName()) | 61 | const path = join(CACHE.DIRECTORIES.PREVIEWS, video.getPreviewName()) |