diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-04 17:24:40 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-04 17:24:40 +0200 |
commit | 45e65f85429ad4e78d0cb2ba43923468f0429ae5 (patch) | |
tree | e1eae942ee67d5cb4154292fc3f23300fbd01fd2 /src/backend/taler-merchant-httpd.c | |
parent | 86688d67ef887a46d74365a57f04d9498bc939d6 (diff) | |
download | merchant-45e65f85429ad4e78d0cb2ba43923468f0429ae5.tar.gz merchant-45e65f85429ad4e78d0cb2ba43923468f0429ae5.tar.bz2 merchant-45e65f85429ad4e78d0cb2ba43923468f0429ae5.zip |
expose /public/config endpoint (#5939)
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 46b60fd1..ba15625b 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -1292,6 +1292,9 @@ url_handler (void *cls, { "/poll-payment", MHD_HTTP_METHOD_GET, "text/plain", NULL, 0, &MH_handler_poll_payment, MHD_HTTP_OK}, + { "/config", MHD_HTTP_METHOD_GET, "text/plain", + NULL, 0, + &MH_handler_config, MHD_HTTP_OK}, {NULL, NULL, NULL, NULL, 0, 0 } }; static struct TMH_RequestHandler h404 = { |