Files
8703c55f9f export config into functions config manifest (#51700)
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]>
2023-06-29 13:42:25 +00:00

8 lines
151 B
TypeScript

import { NextResponse } from 'next/server'
export async function GET() {
return NextResponse.json({ hello: 'app' })
}
export const maxDuration = 1