added missing comma in Access-Control-Allow-Headers (#18479)
Costa Tsaousis committed
Sep 4, 2024 at 15:17 UTC
96ab4bb26c54c3eae16e5faff9569535073150ba
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 x-transaction-id\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
}