mirror of https://github.com/vector-im/riot-web
Fix logging line length.
parent
48faf72fdc
commit
7599bde1f6
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue