crush-level-web/next.config.ts

36 lines
693 B
TypeScript

import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
/* config options here */
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'picsum.photos',
},
{
protocol: 'https',
hostname: 'public-pictures.epal.gg',
},
{
protocol: 'https',
hostname: 'hhb.crushlevel.ai',
},
{
protocol: 'https',
hostname: 'sub.crushlevel.ai',
},
{
protocol: 'https',
hostname: 'img.crushlevel.ai',
},
],
},
typescript: {
// 构建时忽略所有 TypeScript 错误
ignoreBuildErrors: true,
},
};
export default nextConfig;