Skip to content

Commit 90bb37d

Browse files
committed
feat: add nextconfig image allow url
1 parent ec315c7 commit 90bb37d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

playground/next.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import type { NextConfig } from 'next';
22

33
const nextConfig: NextConfig = {
4-
/* config options here */
4+
images: {
5+
domains: ['picsum.photos'] // 👈 添加允许的域名
6+
}
57
};
68

79
export default nextConfig;

0 commit comments

Comments
 (0)