-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.mjs
More file actions
41 lines (40 loc) · 830 Bytes
/
next.config.mjs
File metadata and controls
41 lines (40 loc) · 830 Bytes
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
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
images: {
remotePatterns: [
{
protocol: "https",
hostname: "d2343lbggy2b29.cloudfront.net",
pathname: "/**",
},
{
protocol: "https",
hostname: "s3-sa-east-1.amazonaws.com",
pathname: "/**",
},
{
protocol: "https",
hostname: "kai-ris-files.s3.us-east-1.amazonaws.com",
pathname: "/**",
}
],
},
async headers() {
return [
{
source: '/(.*)',
headers: [
{
key: 'X-DNS-Prefetch-Control',
value: 'on'
}
]
}
]
},
experimental: {
outputFileTracingRoot: undefined // Fixes the -o error in some cases
}
};
export default nextConfig;