http/1.0, minimal dir listing, pw in url

This commit is contained in:
ed
2021-04-03 07:56:35 +02:00
parent 480705dee9
commit 12143f2702
5 changed files with 108 additions and 27 deletions

View File

@@ -52,7 +52,7 @@ class HttpSrv(object):
env.loader = jinja2.FileSystemLoader(os.path.join(E.mod, "web"))
self.j2 = {
x: env.get_template(x + ".html")
for x in ["splash", "browser", "msg", "md", "mde"]
for x in ["splash", "browser", "browser2", "msg", "md", "mde"]
}
cert_path = os.path.join(E.cfg, "cert.pem")