From c6075a2064c397f1a3a9eec4c42b28bc140432e0 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 20 Sep 2023 14:51:04 +1000 Subject: [PATCH] Fix static url error for favicon.ico (#5574) --- InvenTree/InvenTree/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/urls.py b/InvenTree/InvenTree/urls.py index a7652f8969..3164ac4a8c 100644 --- a/InvenTree/InvenTree/urls.py +++ b/InvenTree/InvenTree/urls.py @@ -247,7 +247,7 @@ if settings.DEBUG: # Redirect for favicon.ico urlpatterns.append( - path('favicon.ico', RedirectView.as_view(url=f'{settings.STATIC_ROOT}/img/favicon/favicon.ico')) + path('favicon.ico', RedirectView.as_view(url=f'{settings.STATIC_URL}/img/favicon/favicon.ico')) ) # Send any unknown URLs to the parts page