0
Fork 0
mirror of https://github.com/stonith404/pingvin-share.git synced 2025-01-15 01:14:27 -05:00

fix: 48px icon does not update

This commit is contained in:
Elias Schneider 2023-03-11 12:33:22 +01:00
parent 0c2a62b0ca
commit 753dbe83b7
No known key found for this signature in database
GPG key ID: 07E623B294202B6C

View file

@ -18,7 +18,7 @@ export class LogoService {
} }
async createPWAIcons(file: Buffer) { async createPWAIcons(file: Buffer) {
const sizes = [72, 96, 128, 144, 152, 192, 384, 512]; const sizes = [48, 72, 96, 128, 144, 152, 192, 384, 512];
for (const size of sizes) { for (const size of sizes) {
const resized = await sharp(file).resize(size).toBuffer(); const resized = await sharp(file).resize(size).toBuffer();