mirror of https://gitlab.com/bashrc2/epicyon
Support image types in manual
parent
5553af3a12
commit
9297a31cc2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue