diff --git a/config/lib/express.js b/config/lib/express.js index 59f3cc4c46..96e1b78f3b 100644 --- a/config/lib/express.js +++ b/config/lib/express.js @@ -65,7 +65,7 @@ module.exports.initMiddleware = function (app) { })); // Initialize favicon middleware - app.use(favicon('./modules/core/client/img/brand/favicon.ico')); + app.use(favicon(app.locals.favicon)); // Environment dependent middleware if (process.env.NODE_ENV === 'development') {