S allius/issue378 (#382)
* move home route into web diretory * add web UI to add-on * update changelog * use Blueprints
This commit is contained in:
9
app/src/web/routes.py
Normal file
9
app/src/web/routes.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from quart import Blueprint
|
||||
from quart import Response
|
||||
|
||||
web_routes = Blueprint('web_routes', __name__)
|
||||
|
||||
|
||||
@web_routes.route('/')
|
||||
async def hello():
|
||||
return Response(response="Hello, world")
|
||||
Reference in New Issue
Block a user