From aaee6076b1cbff81eeb5b401afa6f96b868ccc5b Mon Sep 17 00:00:00 2001 From: Juan Font Date: Tue, 29 Nov 2022 22:56:13 +0000 Subject: [PATCH] Correct typo on standalone (fixes #1021) --- platform_config.go | 6 +++--- templates/apple.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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}}