move home route into web diretory

This commit is contained in:
Stefan Allius
2025-04-16 01:01:39 +02:00
parent 7d5670b6b5
commit 6798753d84
4 changed files with 23 additions and 15 deletions

View File

@@ -33,11 +33,6 @@ class ProxyState:
app = Quart(__name__)
@app.route('/')
async def hello():
return Response(response="Hello, world")
@app.route('/-/ready')
async def ready():
if ProxyState.is_up():

8
app/src/web/route.py Normal file
View File

@@ -0,0 +1,8 @@
from quart import Response
from server import app
@app.route('/')
async def hello():
return Response(response="Hello, world")