elif uri_tail == "index.html":
uri_tail = ""
name = self.name
+ if name == "root":
+ name = ""
if name and uri_tail:
name = f"{name}/"
return f"/{name}{uri_tail}"
SCAN_FILES_RECURSIVELY = False
def __init__(self, app, base_dir):
- super().__init__(app, base_dir, "")
+ super().__init__(app, base_dir, "root")
@staticmethod
def is_master_uri(uri_tail):