diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-08 20:26:49 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-08 20:26:49 +0100 |
commit | b19c7cff91704cbbd6355b60beaacea983a1f02b (patch) | |
tree | 8706cb59a31fc8ceaab9c32432733a0b19aa38b3 /src | |
parent | dd66d2ae7bd0b3f19b1e2a1448c05af039994b7d (diff) |
actually serve /terms
Diffstat (limited to 'src')
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 5 |
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, |