To use middleware in Express, I type the code below:
var express = require('express');
var app = express();
app.use('/', function(req, res, next) {
console.log('Middleware!');
});
However, I realized that it is also possible to do thi...
asked by
01.05.2016 / 16:42