diff --git a/server/app.js b/server/app.js index 4591eae..c98d69e 100644 --- a/server/app.js +++ b/server/app.js @@ -40,11 +40,12 @@ app.register(helmet, { contentSecurityPolicy: { directives: { defaultSrc: ['\'none\''], - styleSrc: ['\'unsafe-inline\'', '\'self\''], + styleSrc: ['\'unsafe-inline\'', '\'self\'', 'https://storage.amateurs.team'], scriptSrc: ['\'self\'', 'https://www.google-analytics.com', 'https://www.google.com/recaptcha/', 'https://www.gstatic.com/recaptcha/'], frameSrc: ['https://www.google.com/recaptcha/'], connectSrc: ['\'self\'', 'https://www.google-analytics.com'], - imgSrc: ['*', 'data:'] + imgSrc: ['*', 'data:'], + fontSrc: ['*'] } } })