🚧 progress

This commit is contained in:
Joe Kaufeld 2024-08-07 21:05:09 -04:00
parent cd9c2401d6
commit 9caca72d24

View File

@ -94,6 +94,7 @@ class WebServer(HTTPServer):
addr = addr if addr else "localhost"
port = port if port else 7777
self.templates_dirs = templates_dirs
self.middleware = middleware if middleware else []
if self.templates_dirs:
self.env = Environment(loader=FileSystemLoader(self.templates_dirs))
else: