mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix preview 404
This commit is contained in:
1
server/lib/cache/videos-preview-cache.ts
vendored
1
server/lib/cache/videos-preview-cache.ts
vendored
@@ -56,7 +56,6 @@ class VideosPreviewCache {
|
||||
}
|
||||
|
||||
private saveRemotePreviewAndReturnPath (video: VideoModel) {
|
||||
|
||||
return new Promise<string>((res, rej) => {
|
||||
const req = fetchRemoteVideoPreview(video, rej)
|
||||
const path = join(CACHE.DIRECTORIES.PREVIEWS, video.getPreviewName())
|
||||
|
||||
Reference in New Issue
Block a user