commit ea9c15026a264953625472e14a3707f1131c5552 parent 97f71c83a70c8cf0130cadb8b0b0405e2dc059f7 Author: Christian Grothoff <christian@grothoff.org> Date: Wed, 8 Jan 2020 10:39:00 +0100 add CORS header globally always (#6029) Diffstat:
| M | src/mhd/mhd_responses.c | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/mhd/mhd_responses.c b/src/mhd/mhd_responses.c @@ -69,6 +69,10 @@ TALER_MHD_add_global_headers (struct MHD_Response *response) MHD_add_response_header (response, MHD_HTTP_HEADER_CONNECTION, "close")); + GNUNET_break (MHD_YES == + MHD_add_response_header (response, + MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN, + "*")); }