本页还没有译文
本页 2 段还没译成日本語,下面显示的是英文原文。authInterrupts
还没翻译译自英文(nextjs.org)本页 2 段都还没译
The authInterrupts configuration option allows you to use forbidden and unauthorized APIs in your application. While these functions are experimental, you must enable the authInterrupts option in your next.config.js file to use them:
TypeScriptJavaScript
next.config.ts
import type { NextConfig } from 'next'
const nextConfig: NextConfig = {
experimental: {
authInterrupts: true,
},
}
export default nextConfignext.config.js
module.exports = {
experimental: {
authInterrupts: true,
},
}AI 翻译查看英文原文