feat: add migrations, mantenance tasks, database cache, blocks cache
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export function getThumb(imageUrl) {
|
||||
if (!imageUrl) return '/image/cache/no_image-100x100.png';
|
||||
if (!imageUrl) return '/image/no_image.png';
|
||||
const extIndex = imageUrl.lastIndexOf('.');
|
||||
const ext = imageUrl.substring(extIndex);
|
||||
const filename = imageUrl.substring(0, extIndex);
|
||||
|
||||
Reference in New Issue
Block a user