mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
6 lines
187 B
TypeScript
6 lines
187 B
TypeScript
import type { NextApiRequest, NextApiResponse } from 'next'
|
|
|
|
export default function handler(req: NextApiRequest, res: NextApiResponse) {
|
|
res.status(200).json({ name: 'Legacy API' })
|
|
}
|