import type { NextConfig } from "next"; const nextConfig: NextConfig = { // 关闭左下角的开发指示器(dev overlay 角标) devIndicators: false, // 容器化部署:产出精简的 standalone 包(node server.js 启动) output: "standalone", // next/image 远程域名白名单:火山 TOS 桶 + 后续 CDN 域名 images: { remotePatterns: [ { protocol: "https", hostname: "*.tos-cn-shanghai.volces.com" }, { protocol: "https", hostname: "*.tos-cn-beijing.volces.com" }, { protocol: "https", hostname: "*.volccdn.com" }, ], }, }; export default nextConfig;