From 84d005ade2311794067c0f22a72b15a8b89d253d Mon Sep 17 00:00:00 2001 From: stefanodvx <69367859+stefanodvx@users.noreply.github.com> Date: Wed, 16 Apr 2025 13:05:00 +0200 Subject: [PATCH] Update main.go --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 07d69d4..b335a2c 100644 --- a/main.go +++ b/main.go @@ -23,7 +23,8 @@ func main() { profilerPort, err := strconv.Atoi(os.Getenv("PROFILER_PORT")) if err == nil && profilerPort > 0 { go func() { - http.ListenAndServe(fmt.Sprintf("localhost:%d", profilerPort), nil) + log.Printf("starting profiler on port %d", profilerPort) + http.ListenAndServe(fmt.Sprintf(":%d", profilerPort), nil) }() } util.CleanupDownloadsDir()