diff --git a/server/index.js b/server/index.js index d7dc8e6..b252377 100644 --- a/server/index.js +++ b/server/index.js @@ -65,7 +65,7 @@ const isDev = process.env.NODE_ENV === 'development' const cspDirectives = { defaultSrc: ["'self'"], scriptSrc: ["'self'", 'https://www.google.com/recaptcha/', 'https://www.gstatic.com/recaptcha/'], - styleSrc: ["'self'", 'https://fonts.googleapis.com'], + styleSrc: ["'self'", "'unsafe-inline'", 'https://fonts.googleapis.com'], fontSrc: ["'self'", 'https://fonts.gstatic.com'], imgSrc: ["'self'", 'data:'], connectSrc: isDev ? ["'self'", 'ws://localhost:*'] : ["'self'"],