Check that manifest is not a http request

main
Bob Mottram 2021-02-15 13:10:08 +00:00
parent ae5bf31db3
commit 345df667c2
1 changed files with 5 additions and 3 deletions

View File

@ -10130,9 +10130,11 @@ class PubServer(BaseHTTPRequestHandler):
# manifest for progressive web apps # manifest for progressive web apps
if '/manifest.json' in self.path: if '/manifest.json' in self.path:
self._progressiveWebAppManifest(callingDomain, if self._hasAccept(callingDomain):
GETstartTime, GETtimings) if not self._requestHTTP():
return self._progressiveWebAppManifest(callingDomain,
GETstartTime, GETtimings)
return
# default newswire favicon, for links to sites which # default newswire favicon, for links to sites which
# have no favicon # have no favicon