mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
remaining: - add tests caveat: this only works at the route level, we won't inherit from the layout or anything. I think that's fine Co-authored-by: Florentin / 珞辰 <[email protected]>
8 lines
151 B
TypeScript
8 lines
151 B
TypeScript
import { NextResponse } from 'next/server'
|
|
|
|
export async function GET() {
|
|
return NextResponse.json({ hello: 'app' })
|
|
}
|
|
|
|
export const maxDuration = 1
|