From dfcab2b6d59a3349dcf9cfb9a50a70c3fd9ff9f6 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Sun, 19 Sep 2021 17:56:29 +0100 Subject: [PATCH] Wire up new handlers --- app.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.go b/app.go index fa9b011b..c4411a68 100644 --- a/app.go +++ b/app.go @@ -146,6 +146,8 @@ func (h *Headscale) Serve() error { r.GET("/register", h.RegisterWebAPI) r.POST("/machine/:id/map", h.PollNetMapHandler) r.POST("/machine/:id", h.RegistrationHandler) + r.GET("/apple", h.AppleMobileConfig) + r.GET("/apple/:platform", h.ApplePlatformConfig) var err error if h.cfg.TLSLetsEncryptHostname != "" { if !strings.HasPrefix(h.cfg.ServerURL, "https://") {