diff --git a/main_test.go b/main_test.go index b0b39ff..f3c8255 100644 --- a/main_test.go +++ b/main_test.go @@ -78,7 +78,7 @@ func TestRun(t *testing.T) { t.Error(msg) return } - err = os.WriteFile("dns.txt", []byte(body.Target), 0x777) + err = os.WriteFile("dns.txt", []byte(body.Target), 0x644) if err != nil { msg := fmt.Sprintf("could write dns.txt: %v", err) http.Error(w, msg, http.StatusInternalServerError)