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 = {
|
||||
i18n,
|
||||
images: {
|
||||
domains: [
|
||||
'raw.githubusercontent.com',
|
||||
'arweave.net',
|
||||
'www.dual.finance',
|
||||
'shdw-drive.genesysgo.net',
|
||||
'images.ctfassets.net',
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: 'raw.githubusercontent.com/**',
|
||||
},
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: 'arweave.net/**',
|
||||
},
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: 'images.ctfassets.net/**',
|
||||
},
|
||||
],
|
||||
},
|
||||
reactStrictMode: true,
|
||||
|
|
Loading…
Reference in New Issue