fix: svg turn black

This commit is contained in:
DIYgod
2022-09-27 20:22:30 +01:00
parent 35f0c7e0a1
commit 559a66e560
+2 -1
View File
@@ -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: "**" }],
},
}),