应用路由API 参考配置next.config.jspoweredByHeaderpoweredByHeader 默认情况下,Next.js 将添加 x-powered-by 标头。要选择退出,请打开 next.config.js 并禁用 poweredByHeader 配置: ¥By default Next.js will add the x-powered-by header. To opt-out of it, open next.config.js and disable the poweredByHeader config: module.exports = { poweredByHeader: false,}