Skip to content
Snippets Groups Projects
Commit a75ee902 authored by Damian Janus's avatar Damian Janus
Browse files

Change default format of the image from match to webp in legacyProxyHandler

parent a4e142be
No related branches found
No related tags found
1 merge request!14Draft: Resolve "Change default format to webp"
...@@ -30,7 +30,7 @@ export async function legacyProxyHandler(ctx: KoaContext) { ...@@ -30,7 +30,7 @@ export async function legacyProxyHandler(ctx: KoaContext) {
} }
const options: {[key: string]: any} = { const options: {[key: string]: any} = {
format: 'match', format: 'webp',
mode: 'fit', mode: 'fit',
} }
if (width > 0) { options['width'] = width } if (width > 0) { options['width'] = width }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment