Skip to content

Commit

Permalink
Fix outstanding config renames
Browse files Browse the repository at this point in the history
  • Loading branch information
eliperelman committed Dec 12, 2019
1 parent 8d99981 commit 8122edf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/legacy/ui/ui_render/ui_render_mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export function uiRenderMixin(kbnServer, server, config) {
},
});

response.header('content-security-policy', config.get('csp.directives'));
response.header('content-security-policy', config.get('csp.header'));

return response;
}
Expand Down
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/security/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const security = (kibana) => new kibana.Plugin({
isSystemAPIRequest: server.plugins.kibana.systemApi.isSystemApiRequest.bind(
server.plugins.kibana.systemApi
),
cspRules: config.get('csp.directives'),
cspRules: config.get('csp.header'),
});

// Legacy xPack Info endpoint returns whatever we return in a callback for `registerLicenseCheckResultsGenerator`
Expand Down

0 comments on commit 8122edf

Please sign in to comment.