1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-05 04:15:07 -04:00
gitea/templates/package/content
merlleu a112cf34d3
Cargo package - Fix missing domain in cargo sparse url (#27370)
Hello, it seems that one my previous PR (adding the sparse index to the
cargo package content page), did not worked as expected: the
gitea-origin-url does not add the AppURL because of the `sparse+` prefix
in the url.
Currently the rendered page gives the following:
```toml
[registry]
default = "gitea"

[registries.gitea]
index = "sparse+/api/packages/ownername/cargo/" # Sparse index
# index = "https://git.example.com/ownername/_cargo-index.git" # Git

[net]
git-fetch-with-cli = true
```
2023-10-01 13:43:15 +00:00
..
alpine.tmpl
cargo.tmpl
chef.tmpl
composer_dependencies.tmpl
composer.tmpl
conan.tmpl
conda.tmpl
container.tmpl
cran.tmpl
debian.tmpl
generic.tmpl
go.tmpl
helm.tmpl
maven.tmpl
npm_dependencies.tmpl
npm.tmpl
nuget.tmpl
pub.tmpl
pypi.tmpl
rpm.tmpl
rubygems_dependencies.tmpl
rubygems.tmpl
swift.tmpl
vagrant.tmpl