-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnext.config.js
More file actions
53 lines (51 loc) · 1.26 KB
/
Copy pathnext.config.js
File metadata and controls
53 lines (51 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// This file sets a custom webpack configuration to use your Next.js app
// with Sentry.
// https://nextjs.org/docs/api-reference/next.config.js/introduction
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
// const { withSentryConfig } = require('@sentry/nextjs')
/** @type {import('next').NextConfig} */
const nextConfig = {
// async redirects() {
// return [
// {
// source: '/scan',
// destination: 'https://t.me/beaddao',
// permanent: false,
// },
// ]
// },
reactStrictMode: true,
images: {
dangerouslyAllowSVG: true,
domains: [
'media.giphy.com',
// 'nft-cdn.alchemy.com',
// 'cloudflare-ipfs.com',
// 'api.zora.co',
// 'gateway.pinata.cloud',
// 'ipfs.io',
// 'res.cloudinary.com',
// 'api.bitski.com',
// 'i.seadn.io',
],
remotePatterns: [
{
protocol: 'https',
hostname: 'nft-cdn.alchemy.com',
port: '',
pathname: '/eth-mainnet/**',
},
{
protocol: 'https',
hostname: 'ipfs.io',
port: '',
pathname: '/ipfs/**',
},
{
protocol: 'https',
hostname: '**',
},
],
},
}
module.exports = nextConfig