]> arthur.barton.de Git - netdata.git/commitdiff
fixed leftover in web section
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Fri, 24 Feb 2017 20:37:16 +0000 (22:37 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Fri, 24 Feb 2017 20:37:16 +0000 (22:37 +0200)
src/main.c

index 6f8766e04d36189c1c238eef7b9395fb4da819d7..27075191a4b153df52bec2dcfa5e9968bd15a5ce 100644 (file)
@@ -77,7 +77,7 @@ void web_server_threading_selection(void) {
     web_client_timeout = (int) config_get_number(CONFIG_SECTION_API, "disconnect idle clients after seconds", DEFAULT_DISCONNECT_IDLE_WEB_CLIENTS_AFTER_SECONDS);
 
     respect_web_browser_do_not_track_policy = config_get_boolean(CONFIG_SECTION_API, "respect do not track policy", respect_web_browser_do_not_track_policy);
-    web_x_frame_options = config_get("web", "x-frame-options header", "");
+    web_x_frame_options = config_get(CONFIG_SECTION_API, "x-frame-options header", "");
     if(!*web_x_frame_options) web_x_frame_options = NULL;
 
 #ifdef NETDATA_WITH_ZLIB