Skip to content

Commit

Permalink
added home route
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-singh8 committed Sep 11, 2023
1 parent 17a0990 commit 9e56d31
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions OTP_based/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ app.use(express.json());
app.use("/auth", authRouter);
app.use("/otp", otpRouter);

app.get("/", (req, res) => {
res.send(
"<h1 style='font-family: sans-serif'>Hii, Welcome to Email Validator</h1>"
);
});

const mongodb_uri = process.env.MONGODB_URI;

if (!mongodb_uri) {
Expand Down

0 comments on commit 9e56d31

Please sign in to comment.