From 559a66e560c96f27a420033ce2f7743c718a9560 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 27 Sep 2022 20:22:30 +0100 Subject: [PATCH] fix: svg turn black --- next.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index b1404c3b..8d4b8c40 100644 --- a/next.config.js +++ b/next.config.js @@ -47,7 +47,8 @@ module.exports = withBundleAnalyzer( images: { dangerouslyAllowSVG: true, - contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;", + contentSecurityPolicy: + "default-src 'self'; script-src 'none'; sandbox; style-src 'unsafe-inline';", remotePatterns: [{ hostname: "**" }], }, }),