9 lines
250 B
Python
9 lines
250 B
Python
|
from pathlib import Path
|
||
|
from api.app import app
|
||
|
from fastapi.responses import FileResponse
|
||
|
|
||
|
|
||
|
@app.get("/favicon.ico", response_class=FileResponse, include_in_schema=False)
|
||
|
async def favicon():
|
||
|
return FileResponse(Path("api/assets/favicon.ico"))
|