From cfcc6f1d8ec8ab2c4bbfdf79cada7e8825b40987 Mon Sep 17 00:00:00 2001 From: David <9059044+Tansito@users.noreply.github.com> Date: Fri, 27 Oct 2023 09:47:18 -0400 Subject: [PATCH 1/4] Updated end-point for domain verification --- gateway/main/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/main/urls.py b/gateway/main/urls.py index c6a4cb4b8..58c18a8ac 100644 --- a/gateway/main/urls.py +++ b/gateway/main/urls.py @@ -37,7 +37,7 @@ path("liveness/", probes.views.liveness, name="liveness"), path("", include("django_prometheus.urls")), re_path(r"^api/v1/", include(("api.v1.urls", "api"), namespace="v1")), - path("", TemplateView.as_view(template_name="DomainVerification.html")), + path("DomainVerification.html", TemplateView.as_view(template_name="DomainVerification.html")), ] if settings.DEBUG: From 0e39423a606f696d6734d443e9f6c1302cc89eba Mon Sep 17 00:00:00 2001 From: David <9059044+Tansito@users.noreply.github.com> Date: Fri, 27 Oct 2023 09:55:58 -0400 Subject: [PATCH 2/4] Fix format --- gateway/main/urls.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gateway/main/urls.py b/gateway/main/urls.py index 58c18a8ac..580c8a40f 100644 --- a/gateway/main/urls.py +++ b/gateway/main/urls.py @@ -37,7 +37,10 @@ path("liveness/", probes.views.liveness, name="liveness"), path("", include("django_prometheus.urls")), re_path(r"^api/v1/", include(("api.v1.urls", "api"), namespace="v1")), - path("DomainVerification.html", TemplateView.as_view(template_name="DomainVerification.html")), + path( + "DomainVerification.html", + TemplateView.as_view(template_name="DomainVerification.html") + ), ] if settings.DEBUG: From ca4cde66ae3c5d20e37aeb6fb725a9b607ec8a91 Mon Sep 17 00:00:00 2001 From: David <9059044+Tansito@users.noreply.github.com> Date: Fri, 27 Oct 2023 09:58:30 -0400 Subject: [PATCH 3/4] Fix format with comma --- gateway/main/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/main/urls.py b/gateway/main/urls.py index 580c8a40f..4171d3dfb 100644 --- a/gateway/main/urls.py +++ b/gateway/main/urls.py @@ -39,7 +39,7 @@ re_path(r"^api/v1/", include(("api.v1.urls", "api"), namespace="v1")), path( "DomainVerification.html", - TemplateView.as_view(template_name="DomainVerification.html") + TemplateView.as_view(template_name="DomainVerification.html"), ), ] From bd27154981c4d507f1122f5bb01f7d70a8892fad Mon Sep 17 00:00:00 2001 From: David <9059044+Tansito@users.noreply.github.com> Date: Fri, 27 Oct 2023 10:06:32 -0400 Subject: [PATCH 4/4] Fix format, removed final space --- gateway/main/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/main/urls.py b/gateway/main/urls.py index 4171d3dfb..e4b0c6a46 100644 --- a/gateway/main/urls.py +++ b/gateway/main/urls.py @@ -38,7 +38,7 @@ path("", include("django_prometheus.urls")), re_path(r"^api/v1/", include(("api.v1.urls", "api"), namespace="v1")), path( - "DomainVerification.html", + "DomainVerification.html", TemplateView.as_view(template_name="DomainVerification.html"), ), ]