fix: image xss
This commit is contained in:
parent
666d69e1be
commit
66f530954c
|
|
@ -47,11 +47,9 @@ module.exports = withBundleAnalyzer(
|
|||
},
|
||||
|
||||
images: {
|
||||
dangerouslyAllowSVG: true,
|
||||
contentSecurityPolicy:
|
||||
"default-src 'self'; script-src 'none'; sandbox; style-src 'unsafe-inline';",
|
||||
remotePatterns: [
|
||||
{ hostname: "**" },
|
||||
{ protocol: "https", hostname: "pbs.twimg.com" },
|
||||
{ protocol: "https", hostname: "abs.twimg.com" },
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue