允许 Next 应用访问某些 domain
const nextConfig = {
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'example.com',
port: '',
pathname: '/images/',
}
]
}
}