diff --git a/daemon.py b/daemon.py index 4bd818d5b..fe2e8c033 100644 --- a/daemon.py +++ b/daemon.py @@ -9730,13 +9730,6 @@ class PubServer(BaseHTTPRequestHandler): GETstartTime, GETtimings) return - # favicon image - if 'favicon.ico' in self.path: - self._getFavicon(callingDomain, self.server.baseDir, - self.server.debug, - 'favicon.ico') - return - # default newswire favicon, for links to sites which # have no favicon if 'newswire_favicon.ico' in self.path: @@ -9745,6 +9738,13 @@ class PubServer(BaseHTTPRequestHandler): 'newswire_favicon.ico') return + # favicon image + if 'favicon.ico' in self.path: + self._getFavicon(callingDomain, self.server.baseDir, + self.server.debug, + 'favicon.ico') + return + # check authorization authorized = self._isAuthorized() if self.server.debug: