whitelist the akamaihd.net url that Facebook uses to host profile images
This commit is contained in:
3
app.js
3
app.js
@ -137,12 +137,13 @@ app.use(helmet.contentSecurityPolicy({
|
||||
styleSrc: trusted,
|
||||
imgSrc: [
|
||||
'*.evernote.com',
|
||||
'*.facebook.com',
|
||||
'*.amazonaws.com',
|
||||
'data:',
|
||||
'*.licdn.com',
|
||||
'*.gravatar.com',
|
||||
'*.youtube.com',
|
||||
'*.akamaihd.net',
|
||||
'graph.facebook.com',
|
||||
'*.githubusercontent.com',
|
||||
'*.googleusercontent.com',
|
||||
].concat(trusted),
|
||||
|
Reference in New Issue
Block a user