Files
next.js/test/e2e/app-dir/global-not-found/cache-components/app/action/actions.ts

8 lines
132 B
TypeScript

'use server'
import { redirect } from 'next/navigation'
export async function callNotFoundInAction() {
redirect('/not-found')
}