1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-08-19 13:48:20 +02:00

fix apple configuration profile links

when headscale is mounted in a subpath of a domain these links pointed to potentially invalid urls
This commit is contained in:
derelm 2021-10-20 16:43:32 +02:00 committed by GitHub
parent 03d97c3872
commit 2a173107c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,14 +37,14 @@ func (h *Headscale) AppleMobileConfig(c *gin.Context) {
<!-- <!--
<h3>iOS</h3> <h3>iOS</h3>
<p> <p>
<a href="/apple/ios" download="headscale_ios.mobileconfig">iOS profile</a> <a href="{{.Url}}/apple/ios" download="headscale_ios.mobileconfig">iOS profile</a>
</p> </p>
--> -->
<h3>macOS</h3> <h3>macOS</h3>
<p>Headscale can be set to the default server by installing a Headscale configuration profile:</p> <p>Headscale can be set to the default server by installing a Headscale configuration profile:</p>
<p> <p>
<a href="/apple/macos" download="headscale_macos.mobileconfig">macOS profile</a> <a href="{{.Url}}/apple/macos" download="headscale_macos.mobileconfig">macOS profile</a>
</p> </p>
<ol> <ol>