Fix startup bugs

This commit is contained in:
EstrellaXD
2023-05-12 23:37:18 +08:00
parent 6fa3af5731
commit ffd57ccaca
5 changed files with 21 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ if VERSION != "DEV_VERSION":
templates = Jinja2Templates(directory="templates")
# HTML Response
@router.get("/#/{full_path:path}", response_class=HTMLResponse, tags=["html"])
@router.get("/{full_path:path}", response_class=HTMLResponse, tags=["html"])
def index(request: Request):
context = {"request": request}
return templates.TemplateResponse("index.html", context)