From 5af083cb0e030ff1ccc017ab7715f3e3b4f2aed0 Mon Sep 17 00:00:00 2001 From: Rod Pattison Date: Thu, 22 Oct 2015 09:46:56 +0800 Subject: [PATCH] Changed favicon string to env variable --- config/lib/express.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') {