Added compatibility for subfolders

This commit is contained in:
Kosh 2023-10-15 22:42:01 +05:30 committed by Modo
parent 06eedbdd63
commit feb5689757

View File

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