mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-25 01:52:00 +03:00
6 lines
170 B
JavaScript
6 lines
170 B
JavaScript
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
|
|
|
|
export default function handler(req, res) {
|
|
res.status(200).json({ name: 'John Doe' })
|
|
}
|