Serve to 0.0.0.0 instead of localhost only

This commit is contained in:
Jan Bongers 2023-06-25 20:38:27 +02:00
parent f228f6a8ea
commit c0ffe81714

View File

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