This commit is contained in:
barisusakli
2016-11-17 13:05:59 +03:00
parent 4f0e93732a
commit 71c7ef9109
2 changed files with 3 additions and 7 deletions

8
app.js
View File

@@ -201,7 +201,7 @@ function start() {
require('./src/user').startJobs();
}
webserver.listen();
webserver.listen(next);
}
], function (err) {
if (err) {
@@ -219,11 +219,7 @@ function start() {
winston.warn(' ./nodebb upgrade');
break;
default:
if (err.stacktrace !== false) {
winston.error(err.stack);
} else {
winston.error(err.message);
}
winston.error(err);
break;
}

View File

@@ -86,7 +86,7 @@ module.exports = function (Meta) {
});
};
Meta.css.getFromFile = function(callback) {
Meta.css.getFromFile = function (callback) {
async.series([
async.apply(Meta.css.loadFile, path.join(__dirname, '../../public/stylesheet.css'), 'cache'),
async.apply(Meta.css.loadFile, path.join(__dirname, '../../public/admin.css'), 'acpCache')