republisher/repub/web.py
2026-03-30 11:54:28 +02:00

27 lines
514 B
Python

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