mirror of https://gitlab.com/bashrc2/epicyon
Extra icons, same as mastodon
parent
42a6a8a29b
commit
6ed992faaf
14
daemon.py
14
daemon.py
|
@ -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 |
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Loading…
Reference in New Issue