APNGでもMIME typeはimage/pngにするように

This commit is contained in:
mei23
2019-07-04 23:04:09 +09:00
parent dfd991a6c6
commit e579eb2bf4
8 changed files with 12 additions and 17 deletions

View File

@@ -96,7 +96,7 @@ export async function convertToApng(path: string): Promise<IImage> {
return {
data,
ext: 'apng',
type: 'image/vnd.mozilla.apng'
ext: 'png',
type: 'image/png'
};
}