While using get...for the first time when i set the server and all,,,everythimg works fine but if i make any changes the browser gives the old result and changes are not made

like first i did this
let express=require(‘express’) let server=express() console.log(“hey”) server.get(’/’,function(req,res,next){ res.send(“hello”) }) server.listen(2121)
worked fine but then i added one more get
let express=require(‘express’) let server=express() console.log(“hey”) server.get(’/’,function(req,res,next){ res.send(“hello”) }) server.get(’/greet/:name’ ,function(req,res,next){ console.log(“yo1”) res.send(“hello there”+req.params.name) }) server.listen(2121)

this code does not work for /add

There is no get endpoint at /add
So obviously /add will not work

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.