Skip to content

Commit 5679afa

Browse files
committed
fix: images.domains deprecated
migrate to remotePatterns
1 parent 168895b commit 5679afa

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

next.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ await import("./src/env.js");
88
const config = {
99
swcMinify: false,
1010
images: {
11-
domains: ["storage.googleapis.com"],
11+
remotePatterns: [
12+
{
13+
protocol: "https",
14+
hostname: "storage.googleapis.com",
15+
},
16+
],
1217
},
1318
async headers() {
1419
return [

0 commit comments

Comments
 (0)