diff --git a/client/coral-embed-stream/src/CommentStream.js b/client/coral-embed-stream/src/CommentStream.js index 0fda9444d..bb1d4e6e0 100644 --- a/client/coral-embed-stream/src/CommentStream.js +++ b/client/coral-embed-stream/src/CommentStream.js @@ -70,7 +70,7 @@ class CommentStream extends Component { const path = /https?\:\/\/([^?#]+)/.exec(this.pym.parentUrl); this.props.getStream(path[1] || window.location); - this.path = path; + this.path = path[1] || window.location; this.pym.sendMessage('childReady'); }