mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-27 12:05:26 +00:00
Correct typo on standalone (fixes #1021)
This commit is contained in:
parent
0e28018637
commit
8426fe71e0
@ -220,8 +220,8 @@ func (h *Headscale) ApplePlatformConfig(
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch platform {
|
switch platform {
|
||||||
case "macos-standlone":
|
case "macos-standalone":
|
||||||
if err := macosStandloneTemplate.Execute(&payload, platformConfig); err != nil {
|
if err := macosStandaloneTemplate.Execute(&payload, platformConfig); err != nil {
|
||||||
handleMacError(err)
|
handleMacError(err)
|
||||||
|
|
||||||
return
|
return
|
||||||
@ -390,7 +390,7 @@ var macosAppStoreTemplate = template.Must(template.New("macosTemplate").Parse(`
|
|||||||
</dict>
|
</dict>
|
||||||
`))
|
`))
|
||||||
|
|
||||||
var macosStandloneTemplate = template.Must(template.New("macosStandloneTemplate").Parse(`
|
var macosStandaloneTemplate = template.Must(template.New("macosStandaloneTemplate").Parse(`
|
||||||
<dict>
|
<dict>
|
||||||
<key>PayloadType</key>
|
<key>PayloadType</key>
|
||||||
<string>io.tailscale.ipn.macsys</string>
|
<string>io.tailscale.ipn.macsys</string>
|
||||||
|
@ -92,7 +92,7 @@
|
|||||||
<code>defaults write io.tailscale.ipn.macos ControlURL {{.URL}}</code>
|
<code>defaults write io.tailscale.ipn.macos ControlURL {{.URL}}</code>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
for standlone client:
|
for standalone client:
|
||||||
<code>defaults write io.tailscale.ipn.macsys ControlURL {{.URL}}</code>
|
<code>defaults write io.tailscale.ipn.macsys ControlURL {{.URL}}</code>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user