fix health check

This commit is contained in:
Darius
2025-09-24 00:18:38 +02:00
parent 13b341e7a3
commit c51c72dc85
2 changed files with 2 additions and 3 deletions

View File

@@ -30,7 +30,8 @@ services:
"wget",
"--no-verbose",
"--tries=1",
"--spider",
"-O",
"/dev/null",
"http://localhost:3069/health",
]
interval: 30s

View File

@@ -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)