-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.js
More file actions
34 lines (33 loc) · 873 Bytes
/
next.config.js
File metadata and controls
34 lines (33 loc) · 873 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
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
appDir: true,
},
typescript: {
ignoreBuildErrors: false,
},
// During CI or automated builds we may need to skip ESLint failures
// to allow incremental fixes. Set to `true` to avoid failing the Next
// build when ESLint flags console/logging rules or other non-blocking
// issues. Developers should still fix lint warnings locally.
eslint: {
ignoreDuringBuilds: true,
},
images: {
domains: ['localhost'],
},
async headers() {
return [
{
source: '/(.*)',
headers: [
{
key: 'Content-Security-Policy',
value: "connect-src 'self' http://localhost:4000 ws://localhost:3002 http://localhost:3002 http://127.0.0.1:4943",
},
],
},
];
},
};
module.exports = nextConfig;