[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: keep old /tip-picku
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: keep old /tip-pickup alias |
Date: |
Mon, 29 Jan 2018 23:21:03 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 4b47e3a keep old /tip-pickup alias
4b47e3a is described below
commit 4b47e3ac9fd0f69f6ab1a317ac03b828d0993cba
Author: Florian Dold <address@hidden>
AuthorDate: Mon Jan 29 23:20:21 2018 +0100
keep old /tip-pickup alias
---
src/backend/taler-merchant-httpd.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/backend/taler-merchant-httpd.c
b/src/backend/taler-merchant-httpd.c
index a3081be..2575679 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -245,6 +245,10 @@ url_handler (void *cls,
{ "/tip-authorize", NULL, "application/json",
"Only POST is allowed", 0,
&TMH_MHD_handler_send_json_pack_error, MHD_HTTP_METHOD_NOT_ALLOWED},
+ /* legacy alias */
+ { "/tip-pickup", MHD_HTTP_METHOD_POST, "text/plain",
+ NULL, 0,
+ &MH_handler_tip_pickup, MHD_HTTP_OK},
{ "/public/tip-pickup", MHD_HTTP_METHOD_POST, "text/plain",
NULL, 0,
&MH_handler_tip_pickup, MHD_HTTP_OK},
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: keep old /tip-pickup alias,
gnunet <=