diff --git a/api.go b/api.go index b5e885a1..1023e6fc 100644 --- a/api.go +++ b/api.go @@ -45,22 +45,21 @@ type registerWebAPITemplateConfig struct { } var registerWebAPITemplate = template.Must( - template.New("registerweb").Parse(` + template.New("registerweb").Parse(` + +
+- Run the command below in the headscale server to add this machine to your network: -
- -
-
- headscale -n NAMESPACE nodes register --key {{.Key}}
-
-
+ Run the command below in the headscale server to add this machine to your network: +
+headscale -n NAMESPACE nodes register --key {{.Key}}
- `),
-)
+
+`))
// RegisterWebAPI shows a simple message in the browser to point to the CLI
// Listens in /register.