Skip to content

Commit

Permalink
Using a static link to GitHub pages - this might be confusing during …
Browse files Browse the repository at this point in the history
…development!
  • Loading branch information
idoco committed Jan 13, 2017
1 parent 7c2847f commit 777d9e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<h1>Intergram Demo Page</h1>

<script> window.intergramId = 312940879; </script>
<script src="static/widget.js"></script>
<script src="https://idoco.github.io/intergram/static/widget.js"></script>

</body>
</html>
3 changes: 2 additions & 1 deletion src/widget/ChatFrame.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export default class ChatFrame extends Component {

render() {
return (
<iframe src={'/chat.html?id=' + window.intergramId }
// Using a static link to GitHub pages - this might be confusing during development!
<iframe src={'https://idoco.github.io/intergram/chat.html?id=' + window.intergramId }
width='300' height='350' frameborder='0'>
</iframe>
);
Expand Down

0 comments on commit 777d9e0

Please sign in to comment.