diff options
Diffstat (limited to 'packages/client/src/scripts/media-proxy.ts')
| -rw-r--r-- | packages/client/src/scripts/media-proxy.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/client/src/scripts/media-proxy.ts b/packages/client/src/scripts/media-proxy.ts index 506cb78291..aaf7f9e610 100644 --- a/packages/client/src/scripts/media-proxy.ts +++ b/packages/client/src/scripts/media-proxy.ts @@ -4,7 +4,8 @@ import { url } from '@/config'; export function getProxiedImageUrl(imageUrl: string, type?: 'preview'): string { return `${url}/proxy/image.webp?${query({ url: imageUrl, - ...(type ? { [type]: "1" } : {}), + fallback: '1', + ...(type ? { [type]: '1' } : {}), })}`; } |