exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 7adf9f170fbc314cc699c347f4c338be045c385f
parent 9eaa2a24e6e36ff3b25c89a8c1087ddb338221bd
Author: Sebastian <sebasjm@gmail.com>
Date:   Wed, 10 Feb 2021 16:32:49 -0300

add allow-methods * for cors preflight

Diffstat:
Msrc/mhd/mhd_responses.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/mhd/mhd_responses.c b/src/mhd/mhd_responses.c @@ -289,6 +289,11 @@ TALER_MHD_reply_cors_preflight (struct MHD_Connection *connection) /* Not available as MHD constant yet */ "Access-Control-Allow-Headers", "*")); + GNUNET_break (MHD_YES == + MHD_add_response_header (response, + /* Not available as MHD constant yet */ + "Access-Control-Allow-Methods", + "*")); { MHD_RESULT ret;