diff options
Diffstat (limited to 'pages/api/hello.js')
-rw-r--r-- | pages/api/hello.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pages/api/hello.js b/pages/api/hello.js deleted file mode 100644 index 5d79cc1..0000000 --- a/pages/api/hello.js +++ /dev/null @@ -1,7 +0,0 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction - -const helloAPI = (req, res) =>{ - res.status(200).json({ name: 'John Doe' }) -} - -export default helloAPI;
\ No newline at end of file |