republisher/repub/web.py

28 lines
514 B
Python
Raw Normal View History

2026-03-30 11:42:13 +02:00
from __future__ import annotations
from quart import Quart
def create_app() -> Quart:
app = Quart(__name__)
@app.get("/")
async def index() -> str:
return """<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Republisher</title>
</head>
<body>
<main>
<h1>Hello, world!</h1>
<p>Republisher web UI is starting here.</p>
</main>
</body>
</html>
"""
return app