exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit b19c7cff91704cbbd6355b60beaacea983a1f02b
parent dd66d2ae7bd0b3f19b1e2a1448c05af039994b7d
Author: Florian Dold <florian.dold@gmail.com>
Date:   Sun,  8 Dec 2019 20:26:49 +0100

actually serve /terms

Diffstat:
Msrc/exchange/taler-exchange-httpd.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 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,