Added compatibility for subfolders

This commit is contained in:
Kosh 2023-10-15 22:42:01 +05:30
parent c59483f97f
commit 7e3e9da659

View File

@ -21,7 +21,7 @@ def handle_first_launched():
@app.get("/")
@app.get("/<url_path>")
@app.get("/<path:url_path>")
def handle_get(url_path: str = "index.html") -> Response:
"""
Handle all get requests that are made.