Fix non media thumbnails (#4380)
This commit is contained in:
parent
592cdfa910
commit
d103427932
3 changed files with 2 additions and 2 deletions
|
|
@ -73,7 +73,7 @@ export default async function(ctx: Koa.BaseContext) {
|
|||
await sendRaw();
|
||||
} else {
|
||||
ctx.status = 404;
|
||||
await send(ctx as any, '/dummy.png', { root: assets });
|
||||
await send(ctx as any, '/thumbnail-not-available.png', { root: assets });
|
||||
}
|
||||
}
|
||||
} else if ('web' in ctx.query) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue