Files
next.js/test/e2e/app-dir/app-routes/app/methods/head/route.ts
74ca99c866 Server Router Improvements (#45716)
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]>
2023-02-15 00:16:45 +00:00

4 lines
192 B
TypeScript

// This route only exports GET, and not HEAD. The test verifies that a request
// via HEAD will be the same as GET but without the response body.
export { GET } from '../../../handlers/hello'