diff --git a/pystream/routers/basics.py b/pystream/routers/basics.py index f5ff8b6..e4cbf8d 100644 --- a/pystream/routers/basics.py +++ b/pystream/routers/basics.py @@ -9,18 +9,6 @@ router = APIRouter() -@router.get(path="/favicon.ico", include_in_schema=False) -async def get_favicon() -> FileResponse: - """Gets the favicon.ico and adds to the API endpoint. - - Returns: - FileResponse: - Uses FileResponse to send the favicon.ico to support the robinhood script's robinhood.html. - """ - if os.path.isfile('favicon.ico'): - return FileResponse('favicon.ico') - - @router.get("/", include_in_schema=False) async def root(request: Request) -> RedirectResponse: """Reads the root request to render HTMl page. diff --git a/pystream/templates/index.html b/pystream/templates/index.html index ab4d2a2..40f74ca 100644 --- a/pystream/templates/index.html +++ b/pystream/templates/index.html @@ -10,8 +10,8 @@ - - + +