mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This adds some additional API surface for `build-complete` adapter hook. Wiring up prerenders and additional configs.
9 lines
188 B
TypeScript
9 lines
188 B
TypeScript
import { NextRequest, NextResponse } from 'next/server'
|
|
|
|
export function GET(req: NextRequest) {
|
|
console.log(req.url.toString())
|
|
return NextResponse.json({
|
|
now: Date.now(),
|
|
})
|
|
}
|