Merge pull request #2 from Dm1tr1y147/remove_api

Removed unused api folder with hello.js endpoint
This commit is contained in:
Dmitriy Shishkov 2020-11-26 21:36:41 +05:00 committed by GitHub
commit a9b4b9a4fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" });
};