Skip to content

Commit

Permalink
Correct typo on standalone (fixes #1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfont committed Dec 1, 2022
1 parent 63cd312 commit 5a70ea7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions platform_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -390,7 +390,7 @@ var macosAppStoreTemplate = template.Must(template.New("macosTemplate").Parse(`
</dict>
`))

var macosStandloneTemplate = template.Must(template.New("macosStandloneTemplate").Parse(`
var macosStandaloneTemplate = template.Must(template.New("macosStandaloneTemplate").Parse(`
<dict>
<key>PayloadType</key>
<string>io.tailscale.ipn.macsys</string>
Expand Down
2 changes: 1 addition & 1 deletion templates/apple.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h3>macOS</h3>
<code>defaults write io.tailscale.ipn.macos ControlURL {{.URL}}</code>
</li>
<li>
for standlone client:
for standalone client:
<code>defaults write io.tailscale.ipn.macsys ControlURL {{.URL}}</code>
</li>
</ul>
Expand Down

0 comments on commit 5a70ea7

Please sign in to comment.