This commit is contained in:
=bhagwanSingh 2025-12-22 15:07:01 +05:30
parent bfcd64cf0e
commit 4e782e980c
1 changed files with 15 additions and 15 deletions

View File

@ -591,21 +591,6 @@ io.on("connection", (socket) => {
});
app.get("/login", (req, res) => {
// res.render("client_login")
res.render("client/client_login", {
layout: "layouts/auth", // ⬅️ override layout
title: "DocVA | Login"
});
})
app.get("/forgot-password", (req, res) => {
res.render("forgot_password", {
title: "Forgot Password",
layout: "layouts/forgotpasswordlayout"
});
})
app.get("/health", (req, res) => {
return res.status(200).json({ "success": true, "message": "Server is Healthy" })
})
@ -633,6 +618,21 @@ app.get("/tnyk/:sf_token", (req, res) => {
});
app.get("/", (req, res) => {
// res.render("client_login")
res.render("client/client_login", {
layout: "layouts/auth", // ⬅️ override layout
title: "DocVA | Login"
});
})
app.get("/forgot-password", (req, res) => {
res.render("forgot_password", {
title: "Forgot Password",
layout: "layouts/forgotpasswordlayout"
});
})
app.use((req, res) => {
res.status(404).render("not_found", {
layout: "layouts/error",