actually serve /terms

This commit is contained in:
Florian Dold 2019-12-08 20:26:49 +01:00
parent dd66d2ae7b
commit b19c7cff91
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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,