123456789101112131415161718192021 |
- import type { NextConfig } from "next";
- const nextConfig: NextConfig = {
- /* config options here */
- images: {
- remotePatterns: [
- {
- protocol: 'https',
- hostname: '**', // 通配符,匹配所有的 hostname
- pathname: '/**', // 通配符,匹配所有路径
- },
- {
- protocol: 'http',
- hostname: '**', // 通配符,匹配所有的 hostname
- pathname: '/**', // 通配符,匹配所有路径
- },
- ],
- },
- };
- export default nextConfig;
|