Skip to content

Commit

Permalink
favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
zuiidea committed May 11, 2017
1 parent 44605c6 commit c7789f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ const App = ({ children, location, dispatch, app, loading }) => {
return <div>{children}</div>
}

const { iconFontJS, iconFontCSS } = config
const { iconFontJS, iconFontCSS, logo } = config

return (
<div>
<Helmet>
<title>ANTD ADMIN</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href={config.logoSrc} type="image/x-icon" />
<link rel="icon" href={logo} type="image/x-icon" />
{iconFontJS && <script src={iconFontJS}></script>}
{iconFontCSS && <link rel="stylesheet" href={iconFontCSS} />}
</Helmet>
Expand Down

0 comments on commit c7789f1

Please sign in to comment.