Simplify folder structure

This commit is contained in:
Daniel García Aubert
2019-10-07 09:40:50 +02:00
parent 0d638e6bad
commit 281a079a62
221 changed files with 175 additions and 175 deletions
@@ -0,0 +1,11 @@
'use strict';
module.exports = function initializeStatusCode () {
return function initializeStatusCodeMiddleware (req, res, next) {
if (req.method !== 'OPTIONS') {
res.statusCode = 404;
}
next();
};
};