update macos check

This commit is contained in:
jimyag
2022-12-22 22:19:02 +08:00
committed by Juan Font
parent 5feadbf3fc
commit b4ff22935c
2 changed files with 11 additions and 2 deletions

View File

@@ -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().