mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 19:46:46 +00:00
Fix static url error for favicon.ico (#5574)
This commit is contained in:
parent
47f341d2b5
commit
c6075a2064
@ -247,7 +247,7 @@ if settings.DEBUG:
|
|||||||
|
|
||||||
# Redirect for favicon.ico
|
# Redirect for favicon.ico
|
||||||
urlpatterns.append(
|
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
|
# Send any unknown URLs to the parts page
|
||||||
|
Loading…
x
Reference in New Issue
Block a user