Couldn't get any response

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

error message :- /home/darkknight/web dev/express-sample/node_modules/express/lib/router/index.js:458 throw new TypeError('Router.use() requires a middleware function but got a ’ + gettype(fn))

Send the todos router file.