Check for favicon from local instance

merge-requests/30/head
Bob Mottram 2021-12-17 12:07:22 +00:00
parent c6516b55c3
commit e11180ebd0
1 changed files with 6 additions and 0 deletions

View File

@ -13700,6 +13700,12 @@ class PubServer(BaseHTTPRequestHandler):
# cached favicon images
# Note that this comes before the busy flag to avoid conflicts
if htmlGET and self.path.startswith('/favicons/'):
if self.server.domainFull in self.path:
# favicon for this instance
self._getFavicon(callingDomain, self.server.baseDir,
self.server.debug,
'favicon.ico')
return
self._showCachedFavicon(refererDomain, self.path,
self.server.baseDir,
GETstartTime)