bbgo_origin/apps/frontend/pages/api/hello.js

7 lines
171 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) => {
2022-06-11 00:57:54 +00:00
res.statusCode = 200;
res.json({ name: 'John Doe' });
};