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

7 lines
171 B
JavaScript
Raw Normal View History

// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
export default (req, res) => {
res.statusCode = 200;
res.json({ name: 'John Doe' });
};