Skip to content

Commit 6264206

Browse files
committed
Fix #10919
1 parent e8a6c42 commit 6264206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/release/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
<span class="ui text right poping up" data-content="{{$.i18n.Tr "repo.release.download_count" (.DownloadCount | PrettyNumber)}}">
156156
{{svg "octicon-info"}}
157157
</span>
158-
<a target="_blank" rel="noopener noreferrer" href="{{.DownloadURL}}">
158+
<a target="_blank" rel="noopener noreferrer" href="{{$.RepoLink}}/releases/download/{{$release.TagName | PathEscape}}/{{.Name | PathEscape}}">
159159
<strong><span class="ui image" title='{{.Name}}'>{{svg "octicon-package" 16 "mr-2"}}</span>{{.Name}}</strong>
160160
<span class="ui text grey right">{{.Size | FileSize}}</span>
161161
</a>

0 commit comments

Comments
 (0)