diff --git a/main.go b/main.go index 26f8764..3405725 100644 --- a/main.go +++ b/main.go @@ -82,7 +82,7 @@ func main() { func MessageHandler(w http.ResponseWriter, r *http.Request) { slog.Info(r.RequestURI, "method", r.Method, "ip", r.RemoteAddr, "proto", r.Proto) - if r.Method != http.MethodGet && r.Method != http.MethodPost { + if r.Method != http.MethodGet { w.WriteHeader(http.StatusMethodNotAllowed) return }