-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.mjs
42 lines (41 loc) · 1.21 KB
/
next.config.mjs
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 = (phase, { defaultConfig }) => {
return {
eslint: {
dirs: ['app'],
},
images: {
remotePatterns: [
{
// Pexels images
protocol: 'https',
hostname: 'images.pexels.com',
port: '',
pathname: '/photos/**',
},
{
// Clerk avatar images
protocol: 'https',
hostname: 'img.clerk.com',
port: '',
pathname: '/**',
},
{
// OpenAI images
protocol: 'https',
hostname: 'oaidalleapiprodscus.blob.core.windows.net',
port: '',
pathname: '/private/**',
},
{
// Unsplash images
protocol: 'https',
hostname: 'images.unsplash.com',
port: '',
pathname: '/**',
},
]
}
};
};
export default nextConfig;