summaryrefslogtreecommitdiffstats
path: root/api/admin.go
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2016-02-12 20:19:07 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2016-02-12 20:19:07 +0500
commit7bea418a6575d8d02c1f3eb9f3dbb99fe4d90b0a (patch)
tree069222c906cbf56feb003c806f60230cdbf81844 /api/admin.go
parent6bf1203581a295e82116c23bc4fe2d9d29362cf4 (diff)
parent6cb4f82ee5a17cd1d32ae19c266b78c2cfd604e6 (diff)
downloadchat-7bea418a6575d8d02c1f3eb9f3dbb99fe4d90b0a.tar.gz
chat-7bea418a6575d8d02c1f3eb9f3dbb99fe4d90b0a.tar.bz2
chat-7bea418a6575d8d02c1f3eb9f3dbb99fe4d90b0a.zip
Merge branch 'master' of https://github.com/mattermost/platform into ui-fixes
Diffstat (limited to 'api/admin.go')
-rw-r--r--api/admin.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/admin.go b/api/admin.go
index e8cb8b3c7..d04991353 100644
--- a/api/admin.go
+++ b/api/admin.go
@@ -120,6 +120,7 @@ func getConfig(c *Context, w http.ResponseWriter, r *http.Request) {
cfg := model.ConfigFromJson(strings.NewReader(json))
json = cfg.ToJson()
+ w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")
w.Write([]byte(json))
}