️ 删除不需要的 async

This commit is contained in:
2024-08-15 16:50:11 +08:00
parent 63cd94a0d7
commit 6042417b65
2 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ def _():
@app.get('/host/{page_hash}.html', status_code=status.HTTP_200_OK)
async def _(page_hash: str) -> HTMLResponse:
def _(page_hash: str) -> HTMLResponse:
if page_hash in HostPage.pages:
return HTMLResponse(HostPage.pages[page_hash])
return NOT_FOUND