Merge branch 'feature/fix-thumbnails' of 858/frontend into develop

This commit is contained in:
sanj 2018-12-12 16:41:09 +00:00 committed by Gitea
commit 6ff0019b79

View File

@ -1,7 +1,7 @@
import config from '../config';
export function getThumbnail(id, size='256') {
return `${config.baseUrl}/${id}/icon${size}.jpg`
export function getThumbnail(id, size='200') {
return `${config.baseUrl}/${id}/${size}p.jpg`
}
export function getVideo(id, size='480') {