Fixed typo in team domain look-up page

Этот коммит содержится в:
Reed Garmsen
2015-06-28 19:25:39 -07:00
родитель bf8511fa47
Коммит 2cd5f3629f
3 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@@ -8,9 +8,9 @@
"FileLocation": "" "FileLocation": ""
}, },
"ServiceSettings": { "ServiceSettings": {
"SiteName": "Mattermost", "SiteName": "Battlehouse",
"Domain": "xxxxxxmustbefilledin.com", "Domain": "battlehouse.com",
"Mode" : "dev", "Mode" : "prod",
"AllowTesting" : false, "AllowTesting" : false,
"UseSSL": false, "UseSSL": false,
"Port": "8065", "Port": "8065",

Просмотреть файл

@@ -37,7 +37,7 @@ var FindTeamDomain = React.createClass({
window.location.href = window.location.protocol + "//" + domain + "." + utils.getDomainWithOutSub(); window.location.href = window.location.protocol + "//" + domain + "." + utils.getDomainWithOutSub();
} }
else { 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); this.setState(this.state);
} }
}.bind(this), }.bind(this),

Просмотреть файл

@@ -25,7 +25,7 @@ module.exports.cleanUpUrlable = function(input) {
module.exports.isTestDomain = function() { module.exports.isTestDomain = function() {
if ((/^localhost/).test(window.location.hostname)) /*if ((/^localhost/).test(window.location.hostname))
return true; return true;
if ((/^dockerhost/).test(window.location.hostname)) if ((/^dockerhost/).test(window.location.hostname))
@@ -44,7 +44,7 @@ module.exports.isTestDomain = function() {
return true; return true;
if ((/^176./).test(window.location.hostname)) if ((/^176./).test(window.location.hostname))
return true; return true;*/
return false; return false;
}; };