Skip to content

Commit

Permalink
added README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkirathe committed Sep 4, 2024
1 parent e9211d4 commit a687403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netlify/functions/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ api.get('/api/users', (req, res) => {
res.status(200).json({ users });
});

router.get("/hello", (req, res) =>
api.get("/hello", (req, res) =>
res.send("Hello World!"));

api.use("/api/", router);
// api.use("/api/", router);

export const handler = serverless(api);

0 comments on commit a687403

Please sign in to comment.