Skip to content

Commit

Permalink
Add second endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
marbiano committed May 22, 2021
1 parent 19a981b commit 59c39cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pages/api/hello2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import getContent from "../../lib/test";

export default async (req, res) => {
const content = getContent();
res.json(content);
};

1 comment on commit 59c39cc

@vercel
Copy link

@vercel vercel bot commented on 59c39cc May 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.