Remove "Display secure content only" option

allowDisplayingInsecureContent is removed in Electron 1.6.
And it's no longer necessary to show http contents in https server.
This commit is contained in:
Yuya Ochiai
2017-03-18 21:25:46 +09:00
parent b1d586e9da
commit f08db8c72b
7 changed files with 1 additions and 80 deletions

View File

@@ -36,7 +36,6 @@ const styles = {
const MainPage = React.createClass({
propTypes: {
disablewebsecurity: React.PropTypes.bool.isRequired,
onUnreadCountChange: React.PropTypes.func.isRequired,
teams: React.PropTypes.array.isRequired,
onTeamConfigChange: React.PropTypes.func.isRequired,
@@ -291,7 +290,6 @@ const MainPage = React.createClass({
style={self.visibleStyle(isActive)}
src={team.url}
name={team.name}
disablewebsecurity={this.props.disablewebsecurity}
onTargetURLChange={self.handleTargetURLChange}
onUnreadCountChange={handleUnreadCountChange}
onNotificationClick={handleNotificationClick}