From 9c46e0aece82c1342b5fa9fe90404be5c0eaa675 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 31 Jan 2020 15:25:38 +0900 Subject: [PATCH] Update icon --- assets/apple-touch-icon.png | 4 ++-- assets/favicon.ico | 3 --- assets/favicon.png | 3 +++ assets/favicon/favicon.png | 3 --- assets/favicon/favicon.svg | 3 --- assets/icons/128.png | 3 --- assets/icons/16.png | 3 --- assets/icons/192.png | 4 ++-- assets/icons/256.png | 3 --- assets/icons/32.png | 3 --- assets/icons/512.png | 4 ++-- assets/icons/64.png | 3 --- assets/icons/icon.svg | 3 --- assets/mi.svg | 3 --- src/server/web/index.ts | 2 +- src/server/web/views/base.pug | 2 +- 16 files changed, 11 insertions(+), 38 deletions(-) delete mode 100644 assets/favicon.ico create mode 100644 assets/favicon.png delete mode 100644 assets/favicon/favicon.png delete mode 100644 assets/favicon/favicon.svg delete mode 100644 assets/icons/128.png delete mode 100644 assets/icons/16.png delete mode 100644 assets/icons/256.png delete mode 100644 assets/icons/32.png delete mode 100644 assets/icons/64.png delete mode 100644 assets/icons/icon.svg delete mode 100644 assets/mi.svg diff --git a/assets/apple-touch-icon.png b/assets/apple-touch-icon.png index 742646012..ace37ba60 100644 --- a/assets/apple-touch-icon.png +++ b/assets/apple-touch-icon.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4b45339155e47de21730fd663be4590011b0c44040c6b44d7d3478175bd057de -size 2571 +oid sha256:f2140582995b6e3b290c0f3d90a93916304e6586b7ef9d523f0b2564751cf1cc +size 10930 diff --git a/assets/favicon.ico b/assets/favicon.ico deleted file mode 100644 index 57398a05b..000000000 --- a/assets/favicon.ico +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a58d1e8320a011383461605520eec8878e81986c7b88ffa163acdef8b0353696 -size 6947 diff --git a/assets/favicon.png b/assets/favicon.png new file mode 100644 index 000000000..f2ddbee7a --- /dev/null +++ b/assets/favicon.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0269008f15998639e6bb067bfbfa22c385e6730e9de36b925dd50e86a8b5d7d +size 9368 diff --git a/assets/favicon/favicon.png b/assets/favicon/favicon.png deleted file mode 100644 index af9d5173c..000000000 --- a/assets/favicon/favicon.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2f1bf14cb9d042b12d77dd522260df390d728adb7c0d981e7477910ec2ea24bc -size 4023 diff --git a/assets/favicon/favicon.svg b/assets/favicon/favicon.svg deleted file mode 100644 index e5df5e54c..000000000 --- a/assets/favicon/favicon.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6c3511ae721986c8f7a96216711ad42a55aba0eaa079883aa049a3611273baec -size 4240 diff --git a/assets/icons/128.png b/assets/icons/128.png deleted file mode 100644 index 5808ffbd0..000000000 --- a/assets/icons/128.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fc6a165ff4de9fd2965404340dca36cb885ab637bc747f091b26a296bc9c115b -size 1532 diff --git a/assets/icons/16.png b/assets/icons/16.png deleted file mode 100644 index b628a2c24..000000000 --- a/assets/icons/16.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c7d28300bf6b23a363a506ff37ab4a50f2699999be683d8f4602f7069e629c8b -size 430 diff --git a/assets/icons/192.png b/assets/icons/192.png index bfca1735e..e49abcb45 100644 --- a/assets/icons/192.png +++ b/assets/icons/192.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3c881099f06c88ee5daa3b4f6569a19f8307450109e9c755d1ebefe2fa44619a -size 2070 +oid sha256:1109f4d53b73015e55910b076b4bc9b33d5f3b59e99a980af756992df043b4cb +size 7922 diff --git a/assets/icons/256.png b/assets/icons/256.png deleted file mode 100644 index 742646012..000000000 --- a/assets/icons/256.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4b45339155e47de21730fd663be4590011b0c44040c6b44d7d3478175bd057de -size 2571 diff --git a/assets/icons/32.png b/assets/icons/32.png deleted file mode 100644 index 99b56e772..000000000 --- a/assets/icons/32.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8cc80e86ee705e97010134541752ab8fcc97a71f4c3bb7ebaeac1c0c47f17411 -size 671 diff --git a/assets/icons/512.png b/assets/icons/512.png index e2e6ad3ca..50a86540b 100644 --- a/assets/icons/512.png +++ b/assets/icons/512.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ad94b8da69e291ef58e8dcf88053e05387bfb1ac74eab08598359206cd0eb169 -size 10231 +oid sha256:c934eb88ba88bf8f7fcbee1477d45111ffd1e6f5049ba10a87476f0a262e0901 +size 28171 diff --git a/assets/icons/64.png b/assets/icons/64.png deleted file mode 100644 index 987906b57..000000000 --- a/assets/icons/64.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ffc406a31fb5f1c4ccf2271497a8439f2635403ee241cb2466872552dffb024d -size 1015 diff --git a/assets/icons/icon.svg b/assets/icons/icon.svg deleted file mode 100644 index 46238e6cd..000000000 --- a/assets/icons/icon.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:630eac0d1e1f736fb99a05567c19b0014521f0986334bfa14c6c87eb20912139 -size 5729 diff --git a/assets/mi.svg b/assets/mi.svg deleted file mode 100644 index 2d0f2849a..000000000 --- a/assets/mi.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b5719856c882139a0895f3df4d497dacf261f77625d4b785c60bf7d3e512ca9 -size 4156 diff --git a/src/server/web/index.ts b/src/server/web/index.ts index 57bcb855a..a6ba3cbde 100644 --- a/src/server/web/index.ts +++ b/src/server/web/index.ts @@ -37,7 +37,7 @@ app.use(views(__dirname + '/views', { })); // Serve favicon -app.use(favicon(`${client}/assets/favicon.ico`)); +app.use(favicon(`${client}/assets/favicon.png`)); // Common request handler app.use(async (ctx, next) => { diff --git a/src/server/web/views/base.pug b/src/server/web/views/base.pug index 43b82a5f0..1fc62c09f 100644 --- a/src/server/web/views/base.pug +++ b/src/server/web/views/base.pug @@ -13,7 +13,7 @@ html meta(name='theme-color' content='#86b300') meta(property='og:site_name' content= instanceName || 'Misskey') meta(name='viewport' content='width=device-width, initial-scale=1') - link(rel='icon' href= icon || '/favicon.ico') + link(rel='icon' href= icon || '/favicon.png') link(rel='apple-touch-icon' href= icon || '/apple-touch-icon.png') link(rel='manifest' href='/manifest.json')