Garrit Franke
4 years ago
4 changed files with 5 additions and 7 deletions
@ -1,6 +0,0 @@ |
|||||||
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
|
|
||||||
|
|
||||||
export default (req, res) => { |
|
||||||
res.statusCode = 200 |
|
||||||
res.json({ name: 'John Doe' }) |
|
||||||
} |
|
Loading…
Reference in new issue