Fix logging line length.

pull/21833/head
Richard Lewis 2017-08-02 17:05:46 +01:00
parent 48faf72fdc
commit 7599bde1f6
1 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,8 @@ export default React.createClass({
const u = url.parse(this.props.url); const u = url.parse(this.props.url);
const childContentProtocol = u.protocol; const childContentProtocol = u.protocol;
if (parentContentProtocol === 'https:' && childContentProtocol !== 'https:') { if (parentContentProtocol === 'https:' && childContentProtocol !== 'https:') {
console.warn("Refusing to load mixed-content app:", parentContentProtocol, childContentProtocol, window.location, this.props.url); console.warn("Refusing to load mixed-content app:",
parentContentProtocol, childContentProtocol, window.location, this.props.url);
return true; return true;
} }
return false; return false;