From 428fb88f2c8d12e9307d2dafec1e1d731f5fdd82 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 7 Jan 2021 11:24:10 +0000 Subject: [PATCH] Order of precedence --- daemon.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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: