fix: /wire was replying double 'Access-Control-Allow-Origin' header and browsers complain

This commit is contained in:
Sebastian 2022-06-30 09:13:45 -03:00
parent e0e69fd72e
commit 636691e109
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -482,7 +482,6 @@ build_wire_state (void)
MHD_HTTP_HEADER_EXPIRES, MHD_HTTP_HEADER_EXPIRES,
wsh->dat)); wsh->dat));
} }
TALER_MHD_add_global_headers (wsh->wire_reply);
/* Set cache control headers: our response varies depending on these headers */ /* Set cache control headers: our response varies depending on these headers */
GNUNET_break (MHD_YES == GNUNET_break (MHD_YES ==
MHD_add_response_header (wsh->wire_reply, MHD_add_response_header (wsh->wire_reply,