Skip to content

Commit 6328f6d

Browse files
committed
Use relative url.
1 parent faefbf9 commit 6328f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/package/content/swift.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="ui form">
55
<div class="field">
66
<label>{{svg "octicon-terminal"}} {{.locale.Tr "packages.swift.registry"}}</label>
7-
<div class="markup"><pre class="code-block"><code>swift package-registry set {{AppUrl}}api/packages/{{.PackageDescriptor.Owner.Name}}/swift</code></pre></div>
7+
<div class="markup"><pre class="code-block"><code>swift package-registry set <gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/swift"></gitea-origin-url></code></pre></div>
88
</div>
99
<div class="field">
1010
<label>{{svg "octicon-code"}} {{.locale.Tr "packages.swift.install" | Safe}}</label>

0 commit comments

Comments
 (0)