Skip to content

Commit 6c075d8

Browse files
committed
Use relative url.
1 parent 1caa4d4 commit 6c075d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/package/content/cran.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="field">
66
<label>{{svg "octicon-code"}} {{.locale.Tr "packages.cran.registry" | Safe}}</label>
77
<div class="markup"><pre class="code-block"><code>local({
8-
r &lt;- list("gitea" = "{{AppUrl}}api/packages/{{.PackageDescriptor.Owner.Name}}/cran")
8+
r &lt;- list("gitea" = "<gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/cran"></gitea-origin-url>")
99
options(repos = r)
1010
})</code></pre></div>
1111
</div>

0 commit comments

Comments
 (0)