repo structure
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user