diff --git a/api.go b/api.go index ad87a7e9..490ce258 100644 --- a/api.go +++ b/api.go @@ -44,7 +44,7 @@ func (h *Headscale) RegisterWebAPI(c *gin.Context) {
- headscale -n NAMESPACE nodes register -k %s
+ headscale -n NAMESPACE nodes register --key %s