From 86ea83614ac3adfc5d611a88746c87109c5bd4bf Mon Sep 17 00:00:00 2001 From: Massimiliano Adamo <maxadamo@gmail.com> Date: Thu, 1 Sep 2022 00:31:00 +0200 Subject: [PATCH] test --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 76d26f6..2d69d4b 100644 --- a/main.go +++ b/main.go @@ -91,7 +91,7 @@ func triggerPuppet(w http.ResponseWriter, req *http.Request) { statusFile = "/tmp/401.json" //w.WriteHeader(http.StatusUnauthorized) http.Error(w, ko, http.StatusUnauthorized) - http.ServeFile(w, req, "/tmp/401.json") + //http.ServeFile(w, req, "/tmp/401.json") //http.ServeFile(w, req, statusFile) } else { cmd.Run() -- GitLab