nextjs
This commit is contained in:
parent
83bc981152
commit
d369880579
84 changed files with 1946 additions and 20068 deletions
5
pages/api/hello.js
Normal file
5
pages/api/hello.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
// 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' })
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue