diff --git a/model/middleware/static.js b/model/middleware/static.js index 00979e9..3da99ba 100644 --- a/model/middleware/static.js +++ b/model/middleware/static.js @@ -16,7 +16,7 @@ module.exports = (baseDir, indexFile) => { const filePath = join(baseDir, requestedPath ; stat(filePath, (err, stats) => { - if (err ) { next(); return; } + if (err) { next(); return; } if (stats.isFile()) { stats.mtime.setMilliseconds(0);