mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixed typo in team domain look-up page
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
"FileLocation": ""
|
||||
},
|
||||
"ServiceSettings": {
|
||||
"SiteName": "Mattermost",
|
||||
"Domain": "xxxxxxmustbefilledin.com",
|
||||
"Mode" : "dev",
|
||||
"SiteName": "Battlehouse",
|
||||
"Domain": "battlehouse.com",
|
||||
"Mode" : "prod",
|
||||
"AllowTesting" : false,
|
||||
"UseSSL": false,
|
||||
"Port": "8065",
|
||||
|
||||
@@ -37,7 +37,7 @@ var FindTeamDomain = React.createClass({
|
||||
window.location.href = window.location.protocol + "//" + domain + "." + utils.getDomainWithOutSub();
|
||||
}
|
||||
else {
|
||||
this.state.server_error = "We couldn't find your " + strings.TeamPlural + ".";
|
||||
this.state.server_error = "We couldn't find your " + strings.Team + ".";
|
||||
this.setState(this.state);
|
||||
}
|
||||
}.bind(this),
|
||||
|
||||
@@ -25,7 +25,7 @@ module.exports.cleanUpUrlable = function(input) {
|
||||
|
||||
module.exports.isTestDomain = function() {
|
||||
|
||||
if ((/^localhost/).test(window.location.hostname))
|
||||
/*if ((/^localhost/).test(window.location.hostname))
|
||||
return true;
|
||||
|
||||
if ((/^dockerhost/).test(window.location.hostname))
|
||||
@@ -44,7 +44,7 @@ module.exports.isTestDomain = function() {
|
||||
return true;
|
||||
|
||||
if ((/^176./).test(window.location.hostname))
|
||||
return true;
|
||||
return true;*/
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user