blob: 21ccec2937d483d2b50e36fa1de8715d252b384c [file] [log] [blame]
module.exports = function(context, options) {
return {
name: 'docusaurus-plugin-csp',
injectHtmlTags() {
return {
headTags: [
{
tagName: 'meta',
attributes: {
'http-equiv': 'Content-Security-Policy',
content: "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; frame-src 'self' https://grafana-lake.demo.devlake.io/;",
},
},
],
};
},
};
};