next js configure correctly

This commit is contained in:
brausjonas
2023-05-02 14:58:32 +02:00
parent 975b0fca96
commit 2b8b5259b9
15 changed files with 29 additions and 2958 deletions
+5
View 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' })
}