aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-08 20:26:49 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-08 20:26:49 +0100
commitb19c7cff91704cbbd6355b60beaacea983a1f02b (patch)
tree8706cb59a31fc8ceaab9c32432733a0b19aa38b3 /src
parentdd66d2ae7bd0b3f19b1e2a1448c05af039994b7d (diff)
actually serve /terms
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-httpd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index e53555d64..001d49df8 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -252,7 +252,10 @@ handle_mhd_request (void *cls,
{ "/agpl", MHD_HTTP_METHOD_GET, "text/plain",
NULL, 0,
&TEH_MHD_handler_agpl_redirect, MHD_HTTP_FOUND },
-
+ /* Terms of service */
+ { "/terms", MHD_HTTP_METHOD_GET, NULL,
+ NULL, 0,
+ &TEH_handler_terms, MHD_HTTP_OK },
/* Return key material and fundamental properties for this exchange */
{ "/keys", MHD_HTTP_METHOD_GET, "application/json",
NULL, 0,