From 1f45b5d7e446b5f0f2aaf152e5447abc5db2929f Mon Sep 17 00:00:00 2001 From: Jacky Date: Mon, 5 May 2025 03:55:36 +0000 Subject: [PATCH] chore: rm master pprof --- main.go | 7 ------- 1 file changed, 7 deletions(-) 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",