Skip to content

Commit

Permalink
Merge pull request #7 from reshamsai150/work2
Browse files Browse the repository at this point in the history
done
  • Loading branch information
reshamsai150 authored Jul 16, 2024
2 parents 074b7f3 + 07accd4 commit 563966a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ app.all("*",(req,res,next)=>{
});
app.use((err,req,res,next)=>{
let{statusCode=500,message="Something went wrong"}=err;
res.render("erro.ejs",{message})
res.render("error.ejs",{message})
// res.status(statusCode).send(message);
})
app.listen(8080,()=>{
Expand Down

0 comments on commit 563966a

Please sign in to comment.