mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Add video channels
This commit is contained in:
parent
8113a93a0d
commit
72c7248b6f
56 changed files with 2011 additions and 280 deletions
2
server/lib/cache/videos-preview-cache.ts
vendored
2
server/lib/cache/videos-preview-cache.ts
vendored
|
@ -55,7 +55,7 @@ class VideosPreviewCache {
|
|||
}
|
||||
|
||||
private saveRemotePreviewAndReturnPath (video: VideoInstance) {
|
||||
const req = fetchRemotePreview(video.Author.Pod, video)
|
||||
const req = fetchRemotePreview(video)
|
||||
|
||||
return new Promise<string>((res, rej) => {
|
||||
const path = join(CACHE.DIRECTORIES.PREVIEWS, video.getPreviewName())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue