fixed webui

This commit is contained in:
Matthias Hinrichs
2026-01-29 22:24:24 +01:00
parent 10de822d44
commit 92a77ee944
3 changed files with 38 additions and 6 deletions
+4
View File
@@ -29,6 +29,10 @@ class Config(BaseModel):
async def read_index():
return FileResponse("static/index.html")
@app.get("/favicon.ico", include_in_schema=False)
async def favicon():
return FileResponse("static/index.html") # Or just return 204
@app.get("/config")
async def get_config():
return {