lint: update rules and fix errors

This commit is contained in:
bordun 2018-10-29 12:56:38 +01:00
parent 246807fac5
commit b228331aa8
6 changed files with 7 additions and 9 deletions

View file

@ -26,7 +26,7 @@ express.get('*', function(req, res){
res.send('')
}
} else if (/(assets|client)\//.test(req.path)){
res.sendFile(path.resolve(__dirname + '/..' + req.path))
res.sendFile(path.resolve(__dirname + '/..' + req.path))
} else {
res.sendFile(path.resolve(req.path))
}