Added logging framework.

This commit is contained in:
baldo 2016-05-24 16:40:57 +02:00
parent ad3f075d93
commit a82b66c637
12 changed files with 171 additions and 29 deletions
server

View file

@ -31,7 +31,7 @@ angular.module('ffffng').factory('app', function (fs, config, _) {
});
}
app.use( function (req, res, next) {
app.use(function (req, res, next) {
if (jsTemplateFiles.indexOf(req.path) >= 0) {
return serveTemplate('application/javascript', req, res, next);
}