mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-25 08:07:46 +00:00
Minor change in router
This commit is contained in:
2
app.go
2
app.go
@@ -467,7 +467,7 @@ func (h *Headscale) createNoiseMux() *mux.Router {
|
||||
router := mux.NewRouter()
|
||||
|
||||
router.HandleFunc("/machine/register", h.NoiseRegistrationHandler).Methods(http.MethodPost)
|
||||
router.HandleFunc("/machine/map", h.NoisePollNetMapHandler).Methods(http.MethodPost)
|
||||
router.HandleFunc("/machine/map", h.NoisePollNetMapHandler)
|
||||
|
||||
return router
|
||||
}
|
||||
|
Reference in New Issue
Block a user