fix: Do not use avif (#10301)

* fix: Do not use avif

* fix

* fix
This commit is contained in:
tamaina
2023-03-12 17:31:52 +09:00
committed by GitHub
parent ba98abc97b
commit dff0bee748
6 changed files with 13 additions and 12 deletions

View File

@@ -33,7 +33,7 @@ export class UrlPreviewService {
private wrap(url?: string | null): string | null {
return url != null
? url.match(/^https?:\/\//)
? `${this.config.mediaProxy}/preview.avif?${query({
? `${this.config.mediaProxy}/preview.webp?${query({
url,
preview: '1',
})}`