summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-11 14:30:55 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-11 14:30:55 +0100
commit631bc65253e25fa6a3c6b4a11cb06245cee58293 (patch)
treea792f7f45211d157e5859aaecb9e8fa60e7192f1 /src/exchange/taler-exchange-httpd.c
parent75240345d025ce448b7248a4ec693261ecf8a203 (diff)
downloadexchange-631bc65253e25fa6a3c6b4a11cb06245cee58293.tar.gz
exchange-631bc65253e25fa6a3c6b4a11cb06245cee58293.tar.bz2
exchange-631bc65253e25fa6a3c6b4a11cb06245cee58293.zip
add logic for privacy policy
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r--src/exchange/taler-exchange-httpd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index 001d49df8..a8f32b030 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -256,6 +256,10 @@ handle_mhd_request (void *cls,
{ "/terms", MHD_HTTP_METHOD_GET, NULL,
NULL, 0,
&TEH_handler_terms, MHD_HTTP_OK },
+ /* Privacy policy */
+ { "/privacy", MHD_HTTP_METHOD_GET, NULL,
+ NULL, 0,
+ &TEH_handler_privacy, MHD_HTTP_OK },
/* Return key material and fundamental properties for this exchange */
{ "/keys", MHD_HTTP_METHOD_GET, "application/json",
NULL, 0,