summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-08-09 09:53:22 -0400
committerenahum <nahumhbl@gmail.com>2016-08-09 08:53:22 -0500
commit0afa28de0953ed528486a7d7ad6000f344624710 (patch)
treea31d1668aab355784547d1bc93ab3d8801ed2dd7 /model
parent09d98b486e8245ae84a452331e36e2978a6d01ab (diff)
downloadchat-0afa28de0953ed528486a7d7ad6000f344624710.tar.gz
chat-0afa28de0953ed528486a7d7ad6000f344624710.tar.bz2
chat-0afa28de0953ed528486a7d7ad6000f344624710.zip
Changed autodetection of SiteURL (#3764)
* Changed autoconfiguration of SiteURL to be done on every request * Added SiteURL to system console
Diffstat (limited to 'model')
-rw-r--r--model/config.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/model/config.go b/model/config.go
index 61d13360c..d13ba19e6 100644
--- a/model/config.go
+++ b/model/config.go
@@ -870,10 +870,6 @@ func (o *Config) IsValid() *AppError {
return NewLocAppError("Config.IsValid", "model.config.is_valid.listen_address.app_error", nil, "")
}
- if len(o.ServiceSettings.ListenAddress) == 0 {
- return NewLocAppError("Config.IsValid", "model.config.is_valid.listen_address.app_error", nil, "")
- }
-
if o.TeamSettings.MaxUsersPerTeam <= 0 {
return NewLocAppError("Config.IsValid", "model.config.is_valid.max_users.app_error", nil, "")
}