refactor: use origin instead of manually append https

This commit is contained in:
Ushie 2023-08-07 22:20:10 +03:00
parent a487ca2d22
commit dd7836b572
No known key found for this signature in database
GPG Key ID: B3AAD18842E34632
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@
<li><a href="/download">Download</a></li>
<li><a href="/patches">Patches</a></li>
<li><a href="/contributors">Contributors</a></li>
<li><a href="https://{new URL($page.url).host}/docs/">Docs</a></li>
<li><a href="{new URL($page.url).origin}/docs/">Docs</a></li>
</FooterSection>
<FooterSection title="Repositories">
<Query {query} let:data>

View File

@ -73,7 +73,7 @@
<Navigation queryKey="manager" href="/download">Download</Navigation>
<Navigation queryKey="patches" href="/patches">Patches</Navigation>
<Navigation queryKey="repositories" href="/contributors">Contributors</Navigation>
<Navigation href="https://{new URL($page.url).host}/docs">Docs</Navigation>
<Navigation href="{new URL($page.url).origin}/docs">Docs</Navigation>
</div>
</div>
<div id="secondary-navigation">