Skip to content

Commit

Permalink
fix: code highlighting and X / Twitter embeds (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
scissorsneedfoodtoo authored Nov 20, 2024
1 parent 384a99a commit e3f35cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/config/helmet.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ export default {
"'self'",
"'unsafe-inline'",
'https://webembeds.com',
'https://platform.twitter.com',
'https://cdn.freecodecamp.org'
],
scriptSrcAttr: [
"'self'",
"'unsafe-inline'",
'https://cdn.freecodecamp.org'
],
styleSrc: [
Expand Down Expand Up @@ -40,6 +46,7 @@ export default {
'https://codepen.io',
'https://codesandbox.io',
'https://twitter.com',
'https://platform.twitter.com',
'https://x.com',
'https://gist.github.com',
'https://glitch.com',
Expand Down

0 comments on commit e3f35cc

Please sign in to comment.