How to apply middleware to several addresses (one line):app.use('/path1/', function(req, res) {...})
app.use('/path2/', function(req, res) {...})
Meaning something like this:app.use(['/path1/', "/path2/"], function(req, res) {...})
Route is not suitable because at these locations in addition to middleware, tied another and ...