aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/cover/heatmap.go
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-01-29 10:06:00 +0100
committerTaras Madan <tarasmadan@google.com>2025-01-31 14:06:26 +0000
commitaa47157c8ec3df5a6d16e3866b095c8f91026465 (patch)
treeba6846ab62f0863d4e1b3294577563e4fffd35a3 /pkg/cover/heatmap.go
parent4c6ac32f33aa00c680c8f4656d1fbf2887f390f1 (diff)
dashboard/app: change coverage links
It will simplify the json API links.
Diffstat (limited to 'pkg/cover/heatmap.go')
-rw-r--r--pkg/cover/heatmap.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/cover/heatmap.go b/pkg/cover/heatmap.go
index ce98113cf..f02ee132f 100644
--- a/pkg/cover/heatmap.go
+++ b/pkg/cover/heatmap.go
@@ -101,7 +101,7 @@ func (thm *templateHeatmapRow) prepareDataFor(pageColumns []pageColumnTarget, sk
thm.instrumented[tp], thm.covered[tp]))
if !thm.IsDir {
thm.FileCoverageLink = append(thm.FileCoverageLink,
- fmt.Sprintf("/graph/coverage/file?dateto=%s&period=%s&commit=%s&filepath=%s",
+ fmt.Sprintf("/coverage/file?dateto=%s&period=%s&commit=%s&filepath=%s",
tp.DateTo.String(),
tp.Type,
pageColumn.Commit,