feat: support svgs with next/image

This commit is contained in:
Travis Fischer
2022-03-29 13:25:32 -04:00
parent 5f7102b43c
commit a9f4bb3650

View File

@@ -14,6 +14,8 @@ module.exports = withBundleAnalyzer({
'abs.twimg.com',
'transitivebullsh.it'
],
formats: ['image/avif', 'image/webp']
formats: ['image/avif', 'image/webp'],
dangerouslyAllowSVG: true,
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;"
}
})