mirror of https://gitlab.com/bashrc2/epicyon
Check for favicon from local instance
parent
c6516b55c3
commit
e11180ebd0
|
|
@ -13700,6 +13700,12 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
# cached favicon images
|
# cached favicon images
|
||||||
# Note that this comes before the busy flag to avoid conflicts
|
# Note that this comes before the busy flag to avoid conflicts
|
||||||
if htmlGET and self.path.startswith('/favicons/'):
|
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._showCachedFavicon(refererDomain, self.path,
|
||||||
self.server.baseDir,
|
self.server.baseDir,
|
||||||
GETstartTime)
|
GETstartTime)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue