From 8a2e2b4ca830477aae1c4520e29efcf7722e946b Mon Sep 17 00:00:00 2001 From: collin Date: Wed, 20 May 2026 20:53:00 +0200 Subject: [PATCH] Disabling notifications --- controller.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/controller.go b/controller.go index 3a4b57c..8f98192 100644 --- a/controller.go +++ b/controller.go @@ -161,11 +161,10 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { getStaticFile("./client/favicon.ico", "image/png", w) case r.Method == "GET" && r.URL.Path == "/": - visit := h.visits.HandleVisit(r.Header.Get("X-Forwarded-For")) - if visit != nil { - h.ntfy.PublishNewVisitNotification(visit) - } - + // visit := h.visits.HandleVisit(r.Header.Get("X-Forwarded-For")) + // if visit != nil { + // h.ntfy.PublishNewVisitNotification(visit) + // } getStaticFile("./client/index.html", "text/html", w) case r.Method == "GET" && r.URL.Path == "/rsvp":