Remove debug endpoint

This commit is contained in:
Ben Sarmiento
2023-11-29 02:47:31 +01:00
parent c7e0f8f06b
commit 70550ea57c

View File

@@ -16,8 +16,6 @@ import (
zurghttp "github.com/debridmediamanager.com/zurg/pkg/http"
"github.com/debridmediamanager.com/zurg/pkg/logutil"
"github.com/debridmediamanager.com/zurg/pkg/realdebrid"
_ "net/http/pprof"
)
func main() {
@@ -68,10 +66,6 @@ func main() {
downloadClient := zurghttp.NewHTTPClient(config.GetToken(), config.GetRetriesUntilFailed(), 0, config, log.Named("dlclient"))
getfile := universal.NewGetFile(downloadClient)
go func() {
http.ListenAndServe("[::]:6060", nil)
}()
mux := http.NewServeMux()
net.Router(mux, getfile, config, torrentMgr, log.Named("net"))