Add registration handler over Noise protocol
This commit is contained in:
parent
fdd0c50402
commit
1880035f6f
2 changed files with 428 additions and 1 deletions
2
app.go
2
app.go
|
@ -466,7 +466,7 @@ func (h *Headscale) createRouter(grpcMux *runtime.ServeMux) *mux.Router {
|
|||
func (h *Headscale) createNoiseMux() *mux.Router {
|
||||
router := mux.NewRouter()
|
||||
|
||||
//router.HandleFunc("/machine/register", h.NoiseRegistrationHandler).Methods(http.MethodPost)
|
||||
router.HandleFunc("/machine/register", h.NoiseRegistrationHandler).Methods(http.MethodPost)
|
||||
//router.HandleFunc("/machine/map", h.NoisePollNetMapHandler).Methods(http.MethodPost)
|
||||
|
||||
return router
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue