From bd7781b090fed3dba9506d70d1dd21a9d87445ca Mon Sep 17 00:00:00 2001 From: Tim McMackin Date: Wed, 1 Nov 2023 13:08:20 -0400 Subject: [PATCH] Add content security policy for fonts and css --- docusaurus.config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docusaurus.config.js b/docusaurus.config.js index cd0931c98..8934dc895 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -20,6 +20,16 @@ const config = { locales: ['en'], }, + headTags: [ + { + tagName: 'meta', + attributes: { + 'http-equiv': "Content-Security-Policy", + content: "default-src 'self' jsdelivr.net googleapis.com", + }, + }, + ], + presets: [ [ 'classic',