From b4ff22935c2870d173128a57667b4bc13c57bd48 Mon Sep 17 00:00:00 2001 From: jimyag Date: Thu, 22 Dec 2022 22:19:02 +0800 Subject: [PATCH] update macos check --- platform_config.go | 2 +- templates/apple.html | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/platform_config.go b/platform_config.go index 1e8e6da0..72b1a715 100644 --- a/platform_config.go +++ b/platform_config.go @@ -255,7 +255,7 @@ func (h *Headscale) ApplePlatformConfig( writer.Header().Set("Content-Type", "text/plain; charset=utf-8") writer.WriteHeader(http.StatusBadRequest) _, err := writer.Write( - []byte("Invalid platform, only ios and macos is supported"), + []byte("Invalid platform. Only ios, macos-app-store and macos-standalone are supported"), ) if err != nil { log.Error(). diff --git a/templates/apple.html b/templates/apple.html index b4012735..74b5abf0 100644 --- a/templates/apple.html +++ b/templates/apple.html @@ -68,7 +68,16 @@ -
curl {{.URL}}/apple/macos
+

Profiles