fixed leftover in web section
Costa Tsaousis (ktsaou) committed
Feb 24, 2017 at 22:37 UTC
324e2f75768140a10f96f8a97a715bef27ee3229
1 file changed
+1
-1
src/main.c
+1
-1
@@ -77,7 +77,7 @@ void web_server_threading_selection(void) {
77
web_client_timeout = (int) config_get_number(CONFIG_SECTION_API, "disconnect idle clients after seconds", DEFAULT_DISCONNECT_IDLE_WEB_CLIENTS_AFTER_SECONDS);
78
79
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);
80
- web_x_frame_options = config_get("web", "x-frame-options header", "");
80
+ web_x_frame_options = config_get(CONFIG_SECTION_API, "x-frame-options header", "");
81
if(!*web_x_frame_options) web_x_frame_options = NULL;
82
83
#ifdef NETDATA_WITH_ZLIB