Skip to content

Commit

Permalink
fix(package): use proper URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Elsie19 committed Nov 9, 2024
1 parent 179e256 commit 0bec9cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions server/consts/consts.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package consts

const SRCINFO_FILE_EXTENSION = ".SRCINFO"
const PACSCRIPT_FILE_EXTENSION = "pacscript"
2 changes: 1 addition & 1 deletion server/server/ssr/pacscript/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func registerPacscriptSSRData() {
<button>Install now!</button>
<p>Find similar packages <a href="/packages?page=0&size=25&sortBy=default&sort=asc&filter=%s&filterBy=name">here</a>.</p>
</main>
`, pkg.PackageName, pkg.PackageName, pkg.Description, strings.Join(pkg.Maintainers, ", "), pkg.Version, pkg.PackageName, pkg.PackageName, consts.SRCINFO_FILE_EXTENSION, pkg.PackageName),
`, pkg.PackageName, pkg.PackageName, pkg.Description, strings.Join(pkg.Maintainers, ", "), pkg.Version, pkg.PackageName, pkg.PackageName, consts.PACSCRIPT_FILE_EXTENSION, pkg.PackageName),
}
},
)
Expand Down

0 comments on commit 0bec9cc

Please sign in to comment.