gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: add CORS header globally always


From: gnunet
Subject: [taler-exchange] branch master updated: add CORS header globally always (#6029)
Date: Wed, 08 Jan 2020 10:39:14 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new ea9c1502 add CORS header globally always (#6029)
ea9c1502 is described below

commit ea9c15026a264953625472e14a3707f1131c5552
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Jan 8 10:39:00 2020 +0100

    add CORS header globally always (#6029)
---
 src/mhd/mhd_responses.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/mhd/mhd_responses.c b/src/mhd/mhd_responses.c
index 3642e7d5..a8c15930 100644
--- 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,
+                                         "*"));
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]