mirror of
https://github.com/golang/go
synced 2024-11-18 16:54:43 -07: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:
parent
6735829fe0
commit
1c945908ed
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user