Minor change in router

This commit is contained in:
Juan Font Alonso committed 2022-08-14 21:07:05 +02:00
1 parent 0f09e19e38
commit aaa33cf093
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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
}