Merge pull request #73 from mattermost/http
Propose https instead of http in examples
This commit is contained in:
@@ -199,7 +199,7 @@ var TeamListItemNew = React.createClass({
|
|||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<label for="inputTeamURL">URL</label>
|
<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>
|
</div>
|
||||||
{ ' ' }
|
{ ' ' }
|
||||||
<Button type="submit">Add</Button>
|
<Button type="submit">Add</Button>
|
||||||
|
@@ -8,7 +8,7 @@ describe('settings.js', function() {
|
|||||||
|
|
||||||
it('should upgrade v0 config file', function() {
|
it('should upgrade v0 config file', function() {
|
||||||
const v0_config = {
|
const v0_config = {
|
||||||
url: 'http://example.com/team'
|
url: 'https://example.com/team'
|
||||||
};
|
};
|
||||||
config = settings.upgrade(v0_config);
|
config = settings.upgrade(v0_config);
|
||||||
config.teams.length.should.equal(1);
|
config.teams.length.should.equal(1);
|
||||||
|
Reference in New Issue
Block a user