Check that manifest is not a http request

merge-requests/18/head
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
if '/manifest.json' in self.path:
self._progressiveWebAppManifest(callingDomain,
GETstartTime, GETtimings)
return
if self._hasAccept(callingDomain):
if not self._requestHTTP():
self._progressiveWebAppManifest(callingDomain,
GETstartTime, GETtimings)
return
# default newswire favicon, for links to sites which
# have no favicon