the code for server.js
const express = require(“express”)
const srv = express();
const todoRoute = require("./routes/todos")
srv.use(express.json)
srv.use(express.urlencoded({extended : true}))
srv.get(’/’,function(req,res){
res.send(‘hello’)
})
srv.use(’/public’,express.static(__dirname + “/public”))
srv.use(’/todos’,todoRoute)
srv.listen(4567);
before adding todoRoute it was working just fine.but now it is showing unable to connect.moreover it is also not working in postman app