File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ func SummaryReport(
98
98
if err != nil {
99
99
return nil , err
100
100
}
101
+ summary .BaseURI = wrappers .GetURL (fmt .Sprintf ("projects/%s/overview" , summary .ProjectID ))
101
102
summary .TotalIssues = int (results .TotalCount )
102
103
for _ , result := range results .Results {
103
104
countResult (summary , result )
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ type ResultSummary struct {
16
16
ScanTime string
17
17
CreatedAt string
18
18
ProjectID string
19
+ BaseURI string
19
20
Tags map [string ]string
20
21
}
21
22
@@ -387,7 +388,7 @@ const SummaryTemplate = `
387
388
</div>
388
389
389
390
<div class="data">
390
- <a href="https://ast-master.dev.cxast.net/#/projects/ {{.ProjectID}}/overview " target="_blank">More details</a>
391
+ <a href="{{.BaseURI}} " target="_blank">More details</a>
391
392
</div>
392
393
</div>
393
394
You can’t perform that action at this time.
0 commit comments