From b9a191dce93c5b5d6825c14d2ad336914ff4ef86 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 22 Jul 2021 08:43:42 +0430 Subject: go mod update and postman update [ci skip] --- hived.go | 1 + 1 file changed, 1 insertion(+) (limited to 'hived.go') diff --git a/hived.go b/hived.go index 759c403..97e9548 100644 --- a/hived.go +++ b/hived.go @@ -592,6 +592,7 @@ func healthHandler(w http.ResponseWriter, r *http.Request) { } func robotsHandler(w http.ResponseWriter, r *http.Request) { + w.Header().Add("Content-Type", "text/plain") json.NewEncoder(w).Encode(struct { UserAgents string `json:"User-Agents"` Disallow string `json:"Disallow"` -- cgit v1.2.3