Update urls.py (#5603)

Remove double slash for favicon
This commit is contained in:
Oliver 2023-09-24 09:00:37 +10:00 committed by GitHub
parent 00e7cd1e26
commit 4e467c75d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,7 @@ if settings.DEBUG:
# Redirect for favicon.ico
urlpatterns.append(
path('favicon.ico', RedirectView.as_view(url=f'{settings.STATIC_URL}/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