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.
10 lines
205 B
TypeScript
10 lines
205 B
TypeScript
import { NextRequest, NextResponse } from 'next/server'
|
|
|
|
export const config = {
|
|
runtime: 'edge',
|
|
}
|
|
|
|
export default function handler(req: NextRequest) {
|
|
return NextResponse.json({ now: Date.now() })
|
|
}
|