Support image types in manual

main
Bob Mottram 2022-10-22 20:35:08 +01:00
parent 5553af3a12
commit 9297a31cc2
1 changed files with 1 additions and 1 deletions

View File

@ -16957,7 +16957,7 @@ class PubServer(BaseHTTPRequestHandler):
# show images within https://instancedomain/manual
if self.path.startswith('/manual-'):
if self.path.endswith('.png'):
if is_image_file(self.path):
self._show_manual_image(self.path,
self.server.base_dir,
getreq_start_time)