Difference between app.use('/', router) and app.use(router)
I am working on a node.js application and saw that some people use app.use('/router')
and some people use app.use(router)
What is the difference between these two and which one should I use?
No comments:
Post a Comment