Skip to content

Commit

Permalink
Merge pull request gatsbyjs#5 from slightlytyler/master
Browse files Browse the repository at this point in the history
Wrap bundle.js in link
  • Loading branch information
KyleAMathews committed Dec 15, 2015
2 parents ab71cdd + a110d45 commit e9afb39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion html.jsx
@@ -1,6 +1,7 @@
import React from 'react';
import DocumentTitle from 'react-document-title';

import { link } from 'gatsby-helpers';
import { TypographyStyle } from 'utils/typography'


Expand All @@ -24,7 +25,7 @@ module.exports = React.createClass({
</head>
<body>
<div id="react-mount" dangerouslySetInnerHTML={{__html: this.props.body}} />
<script src="/bundle.js"/>
<script src={link("/bundle.js")}/>
</body>
</html>
);
Expand Down

0 comments on commit e9afb39

Please sign in to comment.