ребят подскажите плиз что надо указать в helmet в contentSecurityPolicy чтобы пофиксить проблему: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-m4RvQIxkLAg3plI6TYKePCVtuvBc474XXcmIDw7RwWg='), or a nonce ('nonce-...') is required to enable inline execution.
если отключить contentSecurityPolicy то ошибка не появляется
вот так тоже не работает:
contentSecurityPolicy: {
directives: {
...helmet.contentSecurityPolicy.getDefaultDirectives(),
'script-src': ["'self'", "'unsafe-inline'"],
},
},