Skip to content

Commit ed4b018

Browse files
fix: allow Cloudflare scripts to enable lazy loading for images and gifs (#44)
1 parent 70357db commit ed4b018

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/config/helmet.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ export default {
77
"'unsafe-inline'",
88
'https://webembeds.com',
99
'https://platform.twitter.com',
10+
'ajax.cloudflare.com',
11+
'static.cloudflareinsights.com',
1012
'https://cdn.freecodecamp.org'
1113
],
1214
scriptSrcAttr: [

0 commit comments

Comments
 (0)