fix: typo in header.

This commit is contained in:
Bo-Yi Wu 2018-03-22 20:41:00 +08:00
parent b3bdd9b79e
commit fea79dd14a
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}
}