kopia lustrzana https://github.com/c9/core
6 wiersze
133 B
JavaScript
6 wiersze
133 B
JavaScript
|
module.exports = function(timeout) {
|
||
|
return function(req, res, next) {
|
||
|
req.setTimeout(timeout);
|
||
|
next();
|
||
|
};
|
||
|
};
|