1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-23 14:46:08 +09:00

chore: update github avatar images (#2762)

This commit is contained in:
TAKAHASHI Shuuji 2024-04-05 23:34:19 +09:00 committed by GitHub
parent f8fc0efadc
commit a27c218802
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 0 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -9,9 +9,6 @@ const avatarsDir = resolve('./public/avatars/')
const sizes = [60, 100]
async function download(url: string, fileName: string) {
if (fs.existsSync(fileName))
return
console.log('downloading', fileName)
try {
const image = await ofetch(url, { responseType: 'arrayBuffer' })