Skip to content

Commit

Permalink
security changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NvdLaan committed Dec 19, 2024
1 parent 0616eef commit 57f6dab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/web/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from django.conf import settings
from django.shortcuts import redirect
from django.urls import path, re_path, include as path_include
from django.conf.urls import include
from django.conf.urls.static import static
Expand Down Expand Up @@ -38,6 +39,7 @@

path('api/', include(router.urls)),
path('admin/', admin.site.urls),
path(".well-known/security.txt", lambda: redirect("https://www.amsterdam.nl/security.txt")),

] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

Expand Down

0 comments on commit 57f6dab

Please sign in to comment.