diff --git a/daemon.py b/daemon.py index 282076aa..2d4f4108 100644 --- a/daemon.py +++ b/daemon.py @@ -1108,6 +1108,9 @@ class PubServer(BaseHTTPRequestHandler): # favicon image if 'favicon.ico' in self.path: favFilename = 'favicon.ico' + if self.headers.get('Accept'): + if 'image/webp' in self.headers['Accept']: + favFilename = 'favicon.webp' # custom favicon faviconFilename = \ self.server.baseDir + '/' + favFilename diff --git a/img/icons/favicon.webp b/img/icons/favicon.webp new file mode 100644 index 00000000..9c0a50d6 Binary files /dev/null and b/img/icons/favicon.webp differ