missing favicon dep

v1.18.x
barisusakli 9 years ago
parent a0f2e8a8ec
commit df7cfe2146

@ -15,6 +15,7 @@ var bodyParser = require('body-parser');
var cookieParser = require('cookie-parser'); var cookieParser = require('cookie-parser');
var session = require('express-session'); var session = require('express-session');
var useragent = require('express-useragent'); var useragent = require('express-useragent');
var favicon = require('serve-favicon');
var db = require('./database'); var db = require('./database');
var file = require('./file'); var file = require('./file');
@ -145,7 +146,7 @@ function setupFavicon(app) {
} }
function initializeNodeBB(callback) { function initializeNodeBB(callback) {
var skipJS, skipLess, fromFile = nconf.get('from-file') || ''; var skipJS, fromFile = nconf.get('from-file') || '';
if (fromFile.match('js')) { if (fromFile.match('js')) {
winston.info('[minifier] Minifying client-side JS skipped'); winston.info('[minifier] Minifying client-side JS skipped');
@ -195,7 +196,7 @@ function cacheStaticFiles(callback) {
callback(); callback();
} }
function listen(callback) { function listen() {
var port = parseInt(nconf.get('port'), 10); var port = parseInt(nconf.get('port'), 10);
if (Array.isArray(port)) { if (Array.isArray(port)) {

Loading…
Cancel
Save