diff --git a/docker-compose.yml b/docker-compose.yml index 5c1be8d..fcd8261 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,7 +30,8 @@ services: "wget", "--no-verbose", "--tries=1", - "--spider", + "-O", + "/dev/null", "http://localhost:3069/health", ] interval: 30s diff --git a/main.go b/main.go index 3c585e5..2e28c3e 100644 --- a/main.go +++ b/main.go @@ -359,9 +359,7 @@ func main() { // Protected endpoints auth := r.Group("/", basicAuth()) { - auth.GET("/gps", gpsHandler) auth.POST("/gps", gpsHandler) - auth.POST("/webhook", gpsHandler) } log.Printf("GPS Router service starting on port %s", config.Port)