Disable avif thumbs as they are too slow

This commit is contained in:
Maksim Karasev 2021-09-12 17:35:47 +03:00
parent 12b8e789b1
commit f5a7fb5f8e
1 changed files with 4 additions and 4 deletions

View File

@ -29,10 +29,10 @@ class FrontEndImage {
this.url = encodeURI(`${BASE_URL}/${filename}`);
this.filename = filename;
this.thumbnails = [
{
filetype: 'image/avif',
url: `${BASE_URL}/api/thumbnails/${filename}/avif`,
},
// {
// filetype: 'image/avif',
// url: `${BASE_URL}/api/thumbnails/${filename}/avif`,
// },
{
filetype: 'image/webp',
url: `${BASE_URL}/api/thumbnails/${filename}/webp`,