So still grasping the concept of middleware -- am I doing anything blatantly incorrect here
app.use('/page/:id', function(req, res) {
var hi = getArray();
require('./routes/index')(hi);
});
So still grasping the concept of middleware -- am I doing anything blatantly incorrect here
app.use('/page/:id', function(req, res) {
var hi = getArray();
require('./routes/index')(hi);
});