1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: lax helmet csp config for styles.

Required to support react-selct, see
https://github.com/JedWatson/react-select/issues/2917
This commit is contained in:
Ivar Conradi Østhus 2020-09-07 09:23:59 +02:00
parent 83e0388520
commit bf42fa135d

View File

@ -12,6 +12,13 @@ module.exports = function(config) {
'data:',
'gravatar.com',
],
styleSrc: [
"'self'",
'fonts.googleapis.com',
'fonts.gstatic.com',
'data:',
'unsafe-inline',
],
},
},
});