mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00: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
|
return gccgoDash
|
||||||
}
|
}
|
||||||
if strings.HasPrefix(r.URL.Path, hgDash.Prefix) {
|
if strings.HasPrefix(r.URL.Path, hgDash.Prefix) {
|
||||||
return goDash
|
return hgDash
|
||||||
}
|
}
|
||||||
return goDash
|
return goDash
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user