From 7f4072123218380f54719bfba47604679184721c Mon Sep 17 00:00:00 2001 From: Nino Date: Thu, 19 Dec 2024 10:37:41 +0100 Subject: [PATCH] security changes --- app/config/urls.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/config/urls.py b/app/config/urls.py index daeb706..f241e4d 100644 --- a/app/config/urls.py +++ b/app/config/urls.py @@ -1,3 +1,4 @@ +from django.shortcuts import redirect from apps.homeownerassociation.views import HomeOwnerAssociationView from apps.address.views import AddressViewset from apps.cases.views import CaseViewSet @@ -40,4 +41,8 @@ def ok(request): SpectacularSwaggerView.as_view(url_name="schema"), name="swagger-ui", ), + path( + ".well-known/security.txt", + lambda: redirect("https://www.amsterdam.nl/security.txt"), + ), ]