fixed webui
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user