From c4d4dcd1bffe4db4c18c17784a8245df460729f8 Mon Sep 17 00:00:00 2001 From: Jason Swank Date: Sun, 17 May 2026 22:59:54 -0400 Subject: [PATCH] wip --- main.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/main.go b/main.go index c452dfc..383dae5 100644 --- a/main.go +++ b/main.go @@ -17,11 +17,7 @@ func main() { rand.Seed(time.Now().UnixNano()) http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { - // error handling for common probes - if r.Host == "" { - http.Error(w, "", http.StatusBadRequest) - return - } + log.Printf("Received request from %s, Host: %s", r.RemoteAddr, r.Host) // error handling for common probes if r.URL.Path != "/" {