fix: svg turn black

This commit is contained in:
DIYgod 2022-09-27 20:22:30 +01:00
parent 35f0c7e0a1
commit 559a66e560
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
1 changed files with 2 additions and 1 deletions

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: "**" }],
},
}),