chore: rm master pprof

This commit is contained in:
Jacky 2025-05-05 03:55:36 +00:00
parent 8ba42b3c9d
commit 1f45b5d7e4
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D

View file

@ -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",