From 94ba0ca85a43f5c757d58271886ef38a44effcaf Mon Sep 17 00:00:00 2001 From: "Dr. Tobias Baur" Date: Fri, 10 Mar 2023 23:42:24 +0100 Subject: [PATCH] removed unnecessary allow-headers --- nostr.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nostr.go b/nostr.go index 4cf5589..a6586b0 100644 --- a/nostr.go +++ b/nostr.go @@ -70,8 +70,8 @@ func handleNip05(w http.ResponseWriter, r *http.Request) { middlestringtrim += "\n" response = firstpartstring + middlestringtrim + finalpartstring } - w.Header().Set("Access-Control-Allow-Origin", "*") - w.Header().Set("Access-Control-Allow-Headers", "Content-Type") + // w.Header().Set("Access-Control-Allow-Origin", "*") + // w.Header().Set("Access-Control-Allow-Headers", "Content-Type") fmt.Fprintf(w, response) } else { return