repo structure

This commit is contained in:
2026-01-04 18:13:53 +01:00
parent 3ec1c08e15
commit 68f4f0b664
4 changed files with 27 additions and 11 deletions

View File

@@ -15,6 +15,10 @@ static_dir = os.path.join(os.path.dirname(__file__), "static")
os.makedirs(static_dir, exist_ok=True)
app.mount("/static", StaticFiles(directory=static_dir), name="static")
@app.get("/favicon.ico", include_in_schema=False)
async def favicon():
return FileResponse(os.path.join(static_dir, "favicon.png"))
# Base directory for data as requested
BASE_DATA_DIR = "/home/asf/testarena"
# For local development on Windows, we might need to adjust this,