diff --git a/app/main.py b/app/main.py index c36cd28..177b0e1 100644 --- a/app/main.py +++ b/app/main.py @@ -2,6 +2,7 @@ import asyncio from contextlib import asynccontextmanager from fastapi import FastAPI +from fastapi.staticfiles import StaticFiles import app.bets.confirmation # noqa: F401 (registers the "bet" confirmation handler) import app.rounds.confirmation # noqa: F401 (registers the "payout" confirmation handler) @@ -61,3 +62,6 @@ app.include_router(admin_router) @app.get("/health") async def health() -> dict[str, str]: return {"status": "ok"} + + +app.mount("/", StaticFiles(directory="app/static", html=True), name="static") diff --git a/app/static/index.html b/app/static/index.html new file mode 100644 index 0000000..5e04ca1 --- /dev/null +++ b/app/static/index.html @@ -0,0 +1,149 @@ + + + + +PLM Lottery - Test UI + + + + +

PLM Lottery - Test UI

+ +
+
+
+

Registrati

+ + + + + +
+
+

Login

+ + + + + +
+
+
+ + + +

Log

+

+
+
+
+
+