Skip to content

Commit 9821b80

Browse files
committed
Refactored Next.js config to utilize images.remotePatterns for domain specification, in alignment with the deprecation of images.domains
1 parent c05860e commit 9821b80

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

next.config.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
images: {
4-
domains: ["files.edgestore.dev"],
4+
remotePatterns: [
5+
{
6+
protocol: "https",
7+
hostname: "files.edgestore.dev",
8+
},
9+
{
10+
protocol: "http",
11+
hostname: "files.edgestore.dev",
12+
},
13+
],
514
},
615
};
716

0 commit comments

Comments
 (0)