use images.remotePatterns for allowed image domains
This commit is contained in:
parent
d6d2648d97
commit
08f20147e4
|
@ -6,12 +6,19 @@ const { withSentryConfig } = require('@sentry/nextjs')
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
i18n,
|
i18n,
|
||||||
images: {
|
images: {
|
||||||
domains: [
|
remotePatterns: [
|
||||||
'raw.githubusercontent.com',
|
{
|
||||||
'arweave.net',
|
protocol: 'https',
|
||||||
'www.dual.finance',
|
hostname: 'raw.githubusercontent.com/**',
|
||||||
'shdw-drive.genesysgo.net',
|
},
|
||||||
'images.ctfassets.net',
|
{
|
||||||
|
protocol: 'https',
|
||||||
|
hostname: 'arweave.net/**',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
protocol: 'https',
|
||||||
|
hostname: 'images.ctfassets.net/**',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
|
|
Loading…
Reference in New Issue