bbgo_origin/frontend/pages/api/hello.js

7 lines
168 B
JavaScript
Raw Permalink Normal View History

2021-01-24 06:07:44 +00:00
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
export default (req, res) => {
res.statusCode = 200
res.json({ name: 'John Doe' })
}