From fea79dd14aaf7f5baf68baf097b87cd01477961c Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Thu, 22 Mar 2018 20:41:00 +0800 Subject: [PATCH] fix: typo in header. --- gorush/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gorush/version.go b/gorush/version.go index cc85ea4..bca414b 100644 --- a/gorush/version.go +++ b/gorush/version.go @@ -32,7 +32,7 @@ func PrintGoRushVersion() { func VersionMiddleware() gin.HandlerFunc { // Set out header value for each response return func(c *gin.Context) { - c.Header("X-DRONE-VERSION", version) + c.Header("X-GORUSH-VERSION", version) c.Next() } }