@cryptotaxi247 / netdata-1 / commits / c52363694

add Access-Control-Allow-Headers: x-transaction-id (#18478)

Costa Tsaousis committed Sep 4, 2024 at 15:11 UTC c523636943005b365558fd8a5e51a734fc7ce805
1 file changed +1 -1
src/web/server/web_client.c
+1 -1
@@ -904,7 +904,7 @@ void web_client_build_http_header(struct web_client *w) {
904 if(w->mode == HTTP_REQUEST_MODE_OPTIONS) {
905 buffer_strcat(w->response.header_output,
906 "Access-Control-Allow-Methods: GET, POST, OPTIONS\r\n"
907 - "Access-Control-Allow-Headers: accept, x-requested-with, origin, content-type, cookie, pragma, cache-control, x-auth-token, x-netdata-auth\r\n"
907 + "Access-Control-Allow-Headers: accept, x-requested-with, origin, content-type, cookie, pragma, cache-control, x-auth-token, x-netdata-auth x-transaction-id\r\n"
908 "Access-Control-Max-Age: 1209600\r\n" // 86400 * 14
909 );
910 }