diff --git a/platform_config.go b/platform_config.go index eb11084f..1e8e6da0 100644 --- a/platform_config.go +++ b/platform_config.go @@ -220,8 +220,8 @@ func (h *Headscale) ApplePlatformConfig( } switch platform { - case "macos-standlone": - if err := macosStandloneTemplate.Execute(&payload, platformConfig); err != nil { + case "macos-standalone": + if err := macosStandaloneTemplate.Execute(&payload, platformConfig); err != nil { handleMacError(err) return @@ -390,7 +390,7 @@ var macosAppStoreTemplate = template.Must(template.New("macosTemplate").Parse(` `)) -var macosStandloneTemplate = template.Must(template.New("macosStandloneTemplate").Parse(` +var macosStandaloneTemplate = template.Must(template.New("macosStandaloneTemplate").Parse(` PayloadType io.tailscale.ipn.macsys diff --git a/templates/apple.html b/templates/apple.html index d21ff276..3c073b96 100644 --- a/templates/apple.html +++ b/templates/apple.html @@ -92,7 +92,7 @@ defaults write io.tailscale.ipn.macos ControlURL {{.URL}}
  • - for standlone client: + for standalone client: defaults write io.tailscale.ipn.macsys ControlURL {{.URL}}