-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnext.config.js
42 lines (40 loc) · 1.48 KB
/
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
const { withContentlayer } = require("next-contentlayer");
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "images.dealshq.xyz",
port: "", // Specify the port if required, otherwise leave it as an empty string
pathname: "/**", // This will allow all paths from this domain
},
{
protocol: "https",
hostname: "images.referralhub.xyz",
port: "", // Specify the port if required, otherwise leave it as an empty string
pathname: "/**", // This will allow all paths from this domain
},
{
protocol: "http",
hostname: "res.cloudinary.com",
port: "", // Specify the port if required, otherwise leave it as an empty string
pathname: "/**", // This will allow all paths from this domain
},
{
protocol: "https",
hostname: "res.cloudinary.com",
port: "", // Specify the port if required, otherwise leave it as an empty string
pathname: "/**", // This will allow all paths from this domain
},
{
protocol: "https",
hostname: "media.licdn.com",
port: "", // Specify the port if required, otherwise leave it as an empty string
pathname: "/**", // This will allow all paths from this domain
},
// You can add more patterns here if you have images from other domains
],
},
};
module.exports = withContentlayer(nextConfig);