diff --git a/CHANGELOG.md b/CHANGELOG.md index 567fc510d4..0f7ad873fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.7.1 / 2017-06-12 + +* [BUGFIX] Fix double prefix redirect. + ## 1.7.0 / 2017-06-06 * [CHANGE] Compress remote storage requests and responses with unframed/raw snappy. diff --git a/VERSION b/VERSION index bd8bf882d0..943f9cbc4e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.7.0 +1.7.1 diff --git a/web/web.go b/web/web.go index 61398f0645..eba79c451c 100644 --- a/web/web.go +++ b/web/web.go @@ -171,7 +171,7 @@ func New(o *Options) *Handler { instrf := prometheus.InstrumentHandlerFunc router.Get("/", func(w http.ResponseWriter, r *http.Request) { - router.Redirect(w, r, path.Join(o.ExternalURL.Path, "/graph"), http.StatusFound) + http.Redirect(w, r, path.Join(o.ExternalURL.Path, "/graph"), http.StatusFound) }) router.Get("/alerts", instrf("alerts", h.alerts))