/config, not /version

This commit is contained in:
Christian Grothoff 2022-08-23 20:43:11 +02:00
parent e96cf9ba66
commit 783d06cad6
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -2953,7 +2953,7 @@ handle_bank_integration (struct TALER_FAKEBANK_Handle *h,
MHD_HTTP_METHOD_HEAD)) MHD_HTTP_METHOD_HEAD))
method = MHD_HTTP_METHOD_GET; method = MHD_HTTP_METHOD_GET;
if ( (0 == strcmp (url, if ( (0 == strcmp (url,
"/version")) && "/config")) &&
(0 == strcasecmp (method, (0 == strcasecmp (method,
MHD_HTTP_METHOD_GET)) ) MHD_HTTP_METHOD_GET)) )
{ {
@ -3609,7 +3609,7 @@ handle_bank_access (struct TALER_FAKEBANK_Handle *h,
MHD_HTTP_METHOD_HEAD)) MHD_HTTP_METHOD_HEAD))
method = MHD_HTTP_METHOD_GET; method = MHD_HTTP_METHOD_GET;
if ( (0 == strcmp (url, if ( (0 == strcmp (url,
"/version")) && "/config")) &&
(0 == strcasecmp (method, (0 == strcasecmp (method,
MHD_HTTP_METHOD_GET)) ) MHD_HTTP_METHOD_GET)) )
{ {