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