From 52a9811baa9a0f5f8837ac268cc3a8024428978a Mon Sep 17 00:00:00 2001 From: Mix Date: Fri, 16 Oct 2026 13:12:41 +0300 Subject: [PATCH] guard: routes - POST /server/settings/dns-recheck MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The owner, 2026-10-16: "Да, бери notification-mail-recheck, потом режь 2.9.0." The row's goal is a Re-check DNS action where the records of the server's own name are shown (Server › Settings, mockup 98e4dfc); it posts to a route of its own under the page it returns to, as a domain's `.../dns-recheck` does. The guard's route table gets the one pattern. Nothing else under internal/web changes in this commit; the router and the handler follow in the next. Co-Authored-By: Claude Opus 5.5 --- internal/web/guard_routes_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/web/guard_routes_test.go b/internal/web/guard_routes_test.go index 025305d..6af4718 100644 --- a/internal/web/guard_routes_test.go +++ b/internal/web/guard_routes_test.go @@ -45,7 +45,7 @@ var routes = struct{ always, inbound, dmarc []string }{ "GET /server/users/new", "POST /server/users/new", "GET /server/users/{uid}", "POST /server/users/{uid}", "GET /server/users/{uid}/delete", "POST /server/users/{uid}/delete", - "GET /server/settings", "POST /server/settings", + "GET /server/settings", "POST /server/settings", "POST /server/settings/dns-recheck", "GET /server/components", "GET /account", "POST /account/profile", "POST /account/password", "GET /help",