Extra icons, same as mastodon

main
Bob Mottram 2021-11-08 10:12:43 +00:00
parent 42a6a8a29b
commit 6ed992faaf
3 changed files with 13 additions and 1 deletions

View File

@ -6038,6 +6038,11 @@ class PubServer(BaseHTTPRequestHandler):
"type": "image/png",
"sizes": "96x96"
},
{
"src": "/logo120.png",
"type": "image/png",
"sizes": "120x120"
},
{
"src": "/logo128.png",
"type": "image/png",
@ -6053,6 +6058,11 @@ class PubServer(BaseHTTPRequestHandler):
"type": "image/png",
"sizes": "152x152"
},
{
"src": "/apple-touch-icon.png",
"type": "image/png",
"sizes": "180x180"
},
{
"src": "/logo192.png",
"type": "image/png",
@ -13480,12 +13490,14 @@ class PubServer(BaseHTTPRequestHandler):
# which support progressive web apps
if self.path == '/logo72.png' or \
self.path == '/logo96.png' or \
self.path == '/logo120.png' or \
self.path == '/logo128.png' or \
self.path == '/logo144.png' or \
self.path == '/logo152.png' or \
self.path == '/logo192.png' or \
self.path == '/logo256.png' or \
self.path == '/logo512.png':
self.path == '/logo512.png' or \
self.path == '/apple-touch-icon.png':
mediaFilename = \
self.server.baseDir + '/img' + self.path
if os.path.isfile(mediaFilename):

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
img/logo120.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB