aboutsummaryrefslogtreecommitdiffstats
path: root/templates/package/content/cargo.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/package/content/cargo.tmpl')
-rw-r--r--templates/package/content/cargo.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/package/content/cargo.tmpl b/templates/package/content/cargo.tmpl
index 54c40a5b0d..f78647ca69 100644
--- a/templates/package/content/cargo.tmpl
+++ b/templates/package/content/cargo.tmpl
@@ -8,7 +8,7 @@
default = "gitea"
[registries.gitea]
-index = "{{AppUrl}}{{.PackageDescriptor.Owner.Name}}/_cargo-index.git"
+index = "<gitea-origin-url data-url="{{AppSubUrl}}/{{.PackageDescriptor.Owner.Name}}/_cargo-index.git"></gitea-origin-url>"
[net]
git-fetch-with-cli = true</code></pre></div>