var app = express() app.route('/events') .all(function (req, res, next) { // runs for all HTTP verbs first // think of it as route specific middleware! }) .get( ...
確定! 回上一頁