diff --git a/main.go b/main.go index ec45253c..55fba886 100644 --- a/main.go +++ b/main.go @@ -4,14 +4,11 @@ import ( "context" "crypto/tls" "fmt" - "log" "net" "net/http" "os/signal" "syscall" - _ "net/http/pprof" - "github.com/0xJacky/Nginx-UI/internal/cert" "github.com/0xJacky/Nginx-UI/internal/cmd" @@ -109,10 +106,6 @@ func main() { ctx, cancel := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM) defer cancel() - go func() { - log.Println(http.ListenAndServe(":6060", nil)) - }() - err := risefront.New(ctx, risefront.Config{ Run: Program(ctx, confPath), Name: "nginx-ui",