Added compatibility for subfolders
This commit is contained in:
parent
06eedbdd63
commit
feb5689757
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user