Skip to content

Commit

Permalink
per request need to rebuild head html. (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
bshy522 authored and arunoda committed Sep 7, 2016
1 parent 4e2e69f commit e2280db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export default function (configDir) {
res.send(getIndexHtml(publicPath));
});

const headHtml = getHeadHtml(configDir);
router.get('/iframe.html', function (req, res) {
const headHtml = getHeadHtml(configDir);
res.send(getIframeHtml(headHtml, publicPath));
});

Expand Down

0 comments on commit e2280db

Please sign in to comment.