Skip to content

Commit

Permalink
Merge pull request #94 from CMSgov/staging
Browse files Browse the repository at this point in the history
Add trailing slash to iframe for GitHub Pages
  • Loading branch information
sawyerh authored Jul 19, 2017
2 parents b310184 + 602f0e5 commit 92f16f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/public/scripts/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/docs/src/scripts/components/HTMLExample.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class HTMLExample extends React.PureComponent {

render() {
const rootPath = process.env.root ? `/${process.env.root}` : '';
let iframeURL = `${rootPath}/example/${this.props.reference}`;
let iframeURL = `${rootPath}/example/${this.props.reference}/`;

if (this.props.modifier) {
iframeURL += this.props.modifier.name;
Expand Down

0 comments on commit 92f16f0

Please sign in to comment.