Skip to content

Commit

Permalink
Use relative url.
Browse files Browse the repository at this point in the history
  • Loading branch information
KN4CK3R committed Mar 13, 2023
1 parent faefbf9 commit 6328f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/package/content/swift.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="ui form">
<div class="field">
<label>{{svg "octicon-terminal"}} {{.locale.Tr "packages.swift.registry"}}</label>
<div class="markup"><pre class="code-block"><code>swift package-registry set {{AppUrl}}api/packages/{{.PackageDescriptor.Owner.Name}}/swift</code></pre></div>
<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>
</div>
<div class="field">
<label>{{svg "octicon-code"}} {{.locale.Tr "packages.swift.install" | Safe}}</label>
Expand Down

0 comments on commit 6328f6d

Please sign in to comment.