1
0
mirror of https://github.com/golang/go synced 2024-09-30 22:58:34 -06:00

dashboard/app: show Mercurial page at /hg/

Change-Id: If5e77adc3766609b8f37423d0f132bcceff704f8
Reviewed-on: https://go-review.googlesource.com/1359
Reviewed-by: Dave Cheney <dave@cheney.net>
Reviewed-by: Minux Ma <minux@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
Andrew Gerrand 2014-12-12 11:15:08 +11:00
parent 6735829fe0
commit 1c945908ed

View File

@ -33,7 +33,7 @@ func dashboardForRequest(r *http.Request) *Dashboard {
return gccgoDash
}
if strings.HasPrefix(r.URL.Path, hgDash.Prefix) {
return goDash
return hgDash
}
return goDash
}