From c0ffe81714ebc7b41e0f5e48df3f8fb6dc0ebe19 Mon Sep 17 00:00:00 2001 From: Jan Bongers Date: Sun, 25 Jun 2023 20:38:27 +0200 Subject: [PATCH] Serve to 0.0.0.0 instead of localhost only --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ac8bc06..6389d7d 100644 --- a/main.go +++ b/main.go @@ -31,7 +31,7 @@ func setupRouter() *gin.Engine { func main() { router := setupRouter() - router.Run("localhost:8080") + router.Run("0.0.0.0:8080") } func getHealthz(c *gin.Context) {