Skip to content

Commit

Permalink
Change to correct favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland committed Apr 23, 2024
1 parent c777aa5 commit 66ceb53
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 1 deletion.
Binary file removed src/argus/site/static/favicon.ico
Binary file not shown.
75 changes: 75 additions & 0 deletions src/argus/site/static/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/argus/site/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""

from django.contrib import admin
from django.urls import include, path, re_path
from django.views.generic.base import RedirectView
Expand All @@ -33,7 +34,7 @@
]

urlpatterns = [
path("favicon.ico", RedirectView.as_view(url="/static/favicon.ico", permanent=True)),
path("favicon.ico", RedirectView.as_view(url="/static/favicon.svg", permanent=True)),
# path(".error/", error), # Only needed when testing error pages and error behavior
path("admin/", admin.site.urls),
path("oidc/", include(psa_urls)),
Expand Down

0 comments on commit 66ceb53

Please sign in to comment.