summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorpriscilla <priscilla.huang@efrei.net>2022-12-08 08:04:24 -0500
committerpriscilla <priscilla.huang@efrei.net>2022-12-08 08:04:24 -0500
commitbcc074c994b9cd5dde8d42cfa77e8c0cbb66fadb (patch)
tree741e85561327b8229fed072b6948ceae294aed14 /src/backend
parent5fe06c0855e95a6afb8912f0c911794a9558a741 (diff)
downloadmerchant-bcc074c994b9cd5dde8d42cfa77e8c0cbb66fadb.tar.gz
merchant-bcc074c994b9cd5dde8d42cfa77e8c0cbb66fadb.tar.bz2
merchant-bcc074c994b9cd5dde8d42cfa77e8c0cbb66fadb.zip
update
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/taler-merchant-httpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
index 1e3de641..01a515b3 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -933,7 +933,7 @@ url_handler (void *cls,
},
/* POST /templates: */
{
- .url_prefix = "/templates/",
+ .url_prefix = "/templates",
.method = MHD_HTTP_METHOD_POST,
.handler = &TMH_private_post_templates,
/* allow template data of up to 8 MB, that should be plenty;
@@ -979,13 +979,13 @@ url_handler (void *cls,
},
/* GET /webhooks: */
{
- .url_prefix = "/webhooks/",
+ .url_prefix = "/webhooks",
.method = MHD_HTTP_METHOD_GET,
.handler = &TMH_private_get_webhooks
},
/* POST /webhooks: */
{
- .url_prefix = "/webhooks/",
+ .url_prefix = "/webhooks",
.method = MHD_HTTP_METHOD_POST,
.handler = &TMH_private_post_webhooks,
/* allow webhook data of up to 8 MB, that should be plenty;