mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 15:39:13 +00:00
## Context Lots of links that initially go to 301's within docs / kb. Updates these to their resolved target. Ask your Claude Code to review the new destinations programmatically. --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
11 lines
328 B
TypeScript
11 lines
328 B
TypeScript
// Next.js API route support: https://nextjs.org/docs/pages/building-your-application/routing/api-routes
|
|
import type { NextApiRequest, NextApiResponse } from 'next'
|
|
|
|
type Data = {
|
|
name: string
|
|
}
|
|
|
|
export default function handler(req: NextApiRequest, res: NextApiResponse<Data>) {
|
|
res.status(200).json({ name: 'John Doe' })
|
|
}
|