diff --git a/react_dashboard.module b/react_dashboard.module index 64def27..2a8a7d7 100644 --- a/react_dashboard.module +++ b/react_dashboard.module @@ -52,6 +52,12 @@ function _react_dashboard_page($node) { return theme('react_dashboard'); } +/** + * Implements hook_page_alter(). + */ +function react_dashboard_page_alter(&$page) { + header_remove('X-Frame-Options'); +} /** * Just a placeholder function showing how to create and enpoind @@ -210,4 +216,4 @@ function _param($value) { return explode(',', $value); } return $value; -} \ No newline at end of file +}