Skip to content

Commit

Permalink
Add content security policy for fonts and css
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymcmackin committed Nov 1, 2023
1 parent 5d90def commit bd7781b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit bd7781b

Please sign in to comment.