🎉 init starlette dial

This commit is contained in:
loveuer
2025-06-28 19:03:29 +08:00
commit 739a518e51
19 changed files with 1375 additions and 0 deletions

5
handler/home.py Normal file
View File

@@ -0,0 +1,5 @@
from starlette.requests import Request
from starlette.responses import HTMLResponse
async def handle_home(request: Request):
return HTMLResponse('<h1>Hello World</h1>')