import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: 'standalone', typescript: { ignoreBuildErrors: true, }, allowedDevOrigins: [ '10.10.10.1', // 允许该IP访问 // 'your-custom-domain.dev', // 如果有自定义域名也可以加在这里 // '*.local-origin.dev' // 支持通配符 ], }; export default nextConfig;