Changed favicon string to env variable

This commit is contained in:
Rod Pattison
2015-10-22 09:46:56 +08:00
parent c2a86e0393
commit 5af083cb0e

View File

@@ -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') {