mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This adds updated matching handle for the server to separate out the matching and executing of different route types e.g. page routes, API routes, and app routes. Co-authored-by: JJ Kasper <[email protected]>
6 lines
89 B
TypeScript
6 lines
89 B
TypeScript
import { notFound } from 'next/navigation'
|
|
|
|
export async function GET() {
|
|
notFound()
|
|
}
|