Skip to content

Commit

Permalink
ver 1.0
Browse files Browse the repository at this point in the history
- minor changes
  • Loading branch information
webapp10 authored May 21, 2023
1 parent 5e3d298 commit 66cdd1a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/controllers/profile.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ exports.UserInfo = (req, res) => {
res.send(response.data);
})
.catch(function (error) {
console.log(error);
res.send({
error: true,
message: error,
Expand Down
11 changes: 10 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ app.use(express.json());
app.use(express.urlencoded({ extended: true }));

app.get("/", (req, res) => {
res.sendStatus(200);
res.status(200).send({
base: BASE_PATH,
version: 1,
ver: "ver 1.0",
developer: "Subhranshu Choudhury",
report: "subhransuchoudhury00@gmail.com +91 8249587552",
});
});

// routes
Expand All @@ -31,3 +37,6 @@ const PORT = process.env.PORT || 8080;
app.listen(PORT, () => {
console.log(`🌍 Server is running on port ${PORT}.`);
});

// checked by subhranshu choudhury on 22-05-2023
// MIT License

1 comment on commit 66cdd1a

@vercel
Copy link

@vercel vercel bot commented on 66cdd1a May 21, 2023

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:

attendee-backend – ./

attendee-backend.vercel.app
attendee-backend-git-main-webapp10.vercel.app
attendee-backend-webapp10.vercel.app

Please sign in to comment.