feat(server): add server.py

This commit is contained in:
Basiek committed 2026-12-02 01:37:51 +01:00
1 parent a519b80d8f
commit 5f547812a6
1 file changed
+13
+13
View File
@@ -0,0 +1,13 @@
from fastapi import FastAPI
from starlette.responses import FileResponse
app = FastAPI()
@app.get("/")
async def main_page():
return FileResponse("web/app.html")
@app.get("/edit")
async def construction():
return FileResponse("web/edit.html")