summaryrefslogtreecommitdiffstats
path: root/api/context.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-17 13:01:40 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-17 13:01:40 -0700
commitaf4deb2369ee6251d7f49db1d67808b773dd9db7 (patch)
tree51b6d6f6bc5501681f27d07791ea826c38105d55 /api/context.go
parent9b5198c69c01ff11b0977282b61cf2222ef2f2b1 (diff)
downloadchat-af4deb2369ee6251d7f49db1d67808b773dd9db7.tar.gz
chat-af4deb2369ee6251d7f49db1d67808b773dd9db7.tar.bz2
chat-af4deb2369ee6251d7f49db1d67808b773dd9db7.zip
Making changes to versioning
Diffstat (limited to 'api/context.go')
-rw-r--r--api/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/context.go b/api/context.go
index f7dbeedee..02716bb33 100644
--- a/api/context.go
+++ b/api/context.go
@@ -125,7 +125,7 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
c.setSiteURL(protocol + "://" + r.Host)
w.Header().Set(model.HEADER_REQUEST_ID, c.RequestId)
- w.Header().Set(model.HEADER_VERSION_ID, fmt.Sprintf("%v.%v", model.GetFullVersion(), utils.CfgLastModified))
+ w.Header().Set(model.HEADER_VERSION_ID, fmt.Sprintf("%v.%v", model.CurrentVersion, utils.CfgLastModified))
// Instruct the browser not to display us in an iframe for anti-clickjacking
if !h.isApi {