提交 edcd4575 作者: 翁进城

nextjs配置

上级 ecd85efd
...@@ -19,6 +19,18 @@ const nextConfig = { ...@@ -19,6 +19,18 @@ const nextConfig = {
}, },
]; ];
}, },
images: {
remotePatterns: [
{
protocol: "http",
hostname: "**",
},
{
protocol: "https",
hostname: "**",
},
],
},
pageExtensions: ["page.tsx", "page.ts", "page.jsx", "page.js"], pageExtensions: ["page.tsx", "page.ts", "page.jsx", "page.js"],
}; };
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论