Files
starlette-dial/handler/home.py
2025-06-28 19:03:29 +08:00

5 lines
173 B
Python

from starlette.requests import Request
from starlette.responses import HTMLResponse
async def handle_home(request: Request):
return HTMLResponse('<h1>Hello World</h1>')