Merge pull request #73 from mattermost/http

Propose https instead of http in examples
This commit is contained in:
Yuya Ochiai
2016-03-14 21:10:41 +09:00
2 changed files with 2 additions and 2 deletions

View File

@@ -199,7 +199,7 @@ var TeamListItemNew = React.createClass({
<div className="form-group">
<label for="inputTeamURL">URL</label>
{ ' ' }
<input type="url" className="form-control" id="inputTeamURL" placeholder="http://example.com/team" value={ this.state.url } onChange={ this.handleURLChange } />
<input type="url" className="form-control" id="inputTeamURL" placeholder="https://example.com/team" value={ this.state.url } onChange={ this.handleURLChange } />
</div>
{ ' ' }
<Button type="submit">Add</Button>

View File

@@ -8,7 +8,7 @@ describe('settings.js', function() {
it('should upgrade v0 config file', function() {
const v0_config = {
url: 'http://example.com/team'
url: 'https://example.com/team'
};
config = settings.upgrade(v0_config);
config.teams.length.should.equal(1);