diff --git a/js/components/header.js b/js/components/header.js index 7080fa38..fd26884d 100644 --- a/js/components/header.js +++ b/js/components/header.js @@ -29,7 +29,7 @@ import NavRoutesLinks from './nav_routes_links'; import { mergeOptions } from '../utils/general_utils'; import { getLangText } from '../utils/lang_utils'; -import setFavicon from 'favicon-setter'; +import {constructHead} from '../utils/head_setter'; let Header = React.createClass({ propTypes: { @@ -64,10 +64,9 @@ let Header = React.createClass({ WhitelabelStore.unlisten(this.onChange); }, getLogo(){ - let logoPath = this.state.whitelabel.logo; - setFavicon(logoPath); + constructHead(this.state.whitelabel.head); if (this.state.whitelabel.subdomain !== 'www'){ - return ; + return ; } else { return ( diff --git a/package.json b/package.json index 798557e2..0e41d714 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,6 @@ "eslint": "^0.22.1", "eslint-plugin-react": "^2.5.0", "express": "^4.12.4", - "favicon-setter": "^0.1.1", "gulp": "^3.8.11", "gulp-concat": "^2.5.2", "gulp-eslint": "^0.13.2",