summaryrefslogtreecommitdiffstats
path: root/api/general.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/general.go')
-rw-r--r--api/general.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/api/general.go b/api/general.go
index 0fd289ffb..94da47330 100644
--- a/api/general.go
+++ b/api/general.go
@@ -9,7 +9,6 @@ import (
"strings"
"github.com/mattermost/mattermost-server/model"
- "github.com/mattermost/mattermost-server/utils"
)
func (api *API) InitGeneral() {
@@ -19,7 +18,7 @@ func (api *API) InitGeneral() {
}
func getClientConfig(c *Context, w http.ResponseWriter, r *http.Request) {
- w.Write([]byte(model.MapToJson(utils.ClientCfg)))
+ w.Write([]byte(model.MapToJson(c.App.ClientConfig())))
}
func logClient(c *Context, w http.ResponseWriter, r *http.Request) {