I'm working on the following legacy code:
var express = require('express');
var app = express.createServer();
app
.use('/run!', getUrl('app.sys', '/run'))
.use('/stat', getUrl('app.sys'))
I'm having troubles finding documentation for the "use" method. I found some usage examples but in all of them it appeared to be getting one argument and here it gets 2. Could you please help me figure out what is the meaning of the use statement here?
Thanks, Li