mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-06 09:27:10 +02:00
Changed favicon string to env variable
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user