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.
7 lines
201 B
TypeScript
7 lines
201 B
TypeScript
import { NextApiRequest, NextApiResponse } from 'next/dist/types'
|
|
|
|
export default function handler(req: NextApiRequest, res: NextApiResponse) {
|
|
console.log(req.url)
|
|
res.json({ now: Date.now() })
|
|
}
|