diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-08-09 09:53:22 -0400 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2016-08-09 08:53:22 -0500 |
commit | 0afa28de0953ed528486a7d7ad6000f344624710 (patch) | |
tree | a31d1668aab355784547d1bc93ab3d8801ed2dd7 /model | |
parent | 09d98b486e8245ae84a452331e36e2978a6d01ab (diff) | |
download | chat-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.go | 4 |
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, "") } |