Fix incorrect relative/absolute URL usages (#29531)

Add two "HTMLURL" methods for PackageDescriptor. 
And rename "FullWebLink" to "VersionWebLink"
This commit is contained in:
wxiaoguang authored and GitHub committed 2024-03-02 17:38:38 +00:00
1 parent 70c126e618
commit bf6502a8f7
4 files changed
+17 -6

No files matched your search

+1 -1
View File
@@ -163,7 +163,7 @@ func RedirectToLastVersion(ctx *context.Context) {
return
}
ctx.Redirect(pd.FullWebLink())
ctx.Redirect(pd.VersionWebLink())
}
// ViewPackageVersion displays a single package version