commit 21c29c4bfb379593797e91a108b49f249587e8bd
parent ff5fd849b7a209b12c384691ed193b4e703ed59c
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 29 Jul 2026 13:08:06 +0200
serve /terms and /privacy from their own handlers
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backend/anastasis-httpd.c b/src/backend/anastasis-httpd.c
@@ -236,10 +236,10 @@ url_handler (void *cls,
&TMH_MHD_handler_agpl_redirect, MHD_HTTP_FOUND },
{ "/terms", MHD_HTTP_METHOD_GET, NULL,
NULL, 0,
- &AH_handler_privacy, MHD_HTTP_OK },
+ &AH_handler_terms, MHD_HTTP_OK },
{ "/privacy", MHD_HTTP_METHOD_GET, NULL,
NULL, 0,
- &AH_handler_terms, MHD_HTTP_OK },
+ &AH_handler_privacy, MHD_HTTP_OK },
{ "/config", MHD_HTTP_METHOD_GET, "text/json",
NULL, 0,
&AH_handler_config, MHD_HTTP_OK },