Serve to 0.0.0.0 instead of localhost only

This commit is contained in:
2023-06-25 22:08:30 +02:00
parent f228f6a8ea
commit c0ffe81714
+1 -1
View File
@@ -31,7 +31,7 @@ func setupRouter() *gin.Engine {
func main() { func main() {
router := setupRouter() router := setupRouter()
router.Run("localhost:8080") router.Run("0.0.0.0:8080")
} }
func getHealthz(c *gin.Context) { func getHealthz(c *gin.Context) {