🎉 init starlette dial
This commit is contained in:
5
handler/home.py
Normal file
5
handler/home.py
Normal 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>')
|
||||
Reference in New Issue
Block a user