summaryrefslogtreecommitdiff
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
parentdd66d2ae7bd0b3f19b1e2a1448c05af039994b7d (diff)
downloadexchange-b19c7cff91704cbbd6355b60beaacea983a1f02b.tar.gz
exchange-b19c7cff91704cbbd6355b60beaacea983a1f02b.tar.bz2
exchange-b19c7cff91704cbbd6355b60beaacea983a1f02b.zip
actually serve /terms
-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 e53555d6..001d49df 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,