add CORS header globally always (#6029)
This commit is contained in:
parent
97f71c83a7
commit
ea9c15026a
@ -69,6 +69,10 @@ TALER_MHD_add_global_headers (struct MHD_Response *response)
|
|||||||
MHD_add_response_header (response,
|
MHD_add_response_header (response,
|
||||||
MHD_HTTP_HEADER_CONNECTION,
|
MHD_HTTP_HEADER_CONNECTION,
|
||||||
"close"));
|
"close"));
|
||||||
|
GNUNET_break (MHD_YES ==
|
||||||
|
MHD_add_response_header (response,
|
||||||
|
MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN,
|
||||||
|
"*"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user