forked from base-org/onchainsummer.xyz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
42 lines (41 loc) · 853 Bytes
/
next.config.js
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
/** @type {import('next').NextConfig} */
const nextConfig = {
webpack: (config) => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
},
images: {
domains: [
'media.contextcdn.com',
'mint.fun',
'image.mux.com',
'testnet.mint.fun',
'assets.onchainsummer.xyz'
],
dangerouslyAllowSVG: true,
},
async redirects() {
return [
{
source: '/live',
destination: 'https://lvpr.tv/?v=f605g2y8y8sly24n',
permanent: true,
},
]
},
async headers() {
return [
{
// Apply these headers to all routes.
source: '/(.*)',
headers: [
{
key: 'Content-Security-Policy',
value: "frame-ancestors 'self'",
},
],
},
]
},
}
module.exports = nextConfig