15 lines
340 B
Python
Raw Normal View History

2025-02-20 22:51:01 +01:00
import logging
from logging import Logger
2024-02-04 00:55:51 +01:00
from pathlib import Path
2025-02-20 14:39:19 +01:00
2024-02-04 00:55:51 +01:00
from fastapi.responses import FileResponse
2025-02-20 14:39:19 +01:00
from api.app import app
2025-02-20 22:51:01 +01:00
logger: Logger = logging.getLogger(__name__)
2024-02-04 00:55:51 +01:00
@app.get("/favicon.ico", response_class=FileResponse, include_in_schema=False)
async def favicon():
return FileResponse(Path("api/assets/favicon.ico"))