Poll kinda working

This commit is contained in:
Juan Font Alonso
2022-03-29 00:01:15 +02:00
parent 834f39db31
commit 928544a24f
4 changed files with 324 additions and 50 deletions

1
app.go
View File

@@ -514,6 +514,7 @@ func (h *Headscale) createNoiseRouter() *gin.Engine {
router := gin.Default()
router.POST("/machine/register", h.NoiseRegistrationHandler)
router.POST("/machine/map", h.NoisePollNetMapHandler)
return router
}