1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 21:33:18 +01:00

fix: returns afters healthcheck

This commit is contained in:
Amir Raminfar
2023-11-17 15:38:17 -08:00
parent 02a40fdd8e
commit 07147d1e5c
2 changed files with 3 additions and 1 deletions

View File

@@ -2,10 +2,11 @@ package healthcheck
import (
"fmt"
log "github.com/sirupsen/logrus"
"net/http"
"os"
"strings"
log "github.com/sirupsen/logrus"
)
func HttpRequest(addr string, base string) error {

View File

@@ -72,6 +72,7 @@ func main() {
if err := healthcheck.HttpRequest(args.Addr, args.Base); err != nil {
log.Fatal(err)
}
return
}
if args.AuthProvider != "none" && args.AuthProvider != "forward-proxy" && args.AuthProvider != "simple" {