From 05f057fe727769a186c8a84b43b2dcc98544d6c3 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 28 Feb 2021 08:47:56 +0100 Subject: [PATCH] Stringify favicon path potentially closes #4459 --- freqtrade/rpc/api_server/web_ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/rpc/api_server/web_ui.py b/freqtrade/rpc/api_server/web_ui.py index 6d7e77953..13d22a63e 100644 --- a/freqtrade/rpc/api_server/web_ui.py +++ b/freqtrade/rpc/api_server/web_ui.py @@ -10,7 +10,7 @@ router_ui = APIRouter() @router_ui.get('/favicon.ico', include_in_schema=False) async def favicon(): - return FileResponse(Path(__file__).parent / 'ui/favicon.ico') + return FileResponse(str(Path(__file__).parent / 'ui/favicon.ico')) @router_ui.get('/{rest_of_path:path}', include_in_schema=False)