From 0afa28de0953ed528486a7d7ad6000f344624710 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 9 Aug 2016 09:53:22 -0400 Subject: Changed autodetection of SiteURL (#3764) * Changed autoconfiguration of SiteURL to be done on every request * Added SiteURL to system console --- model/config.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'model') 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, "") } -- cgit v1.2.3-1-g7c22