diff options
Diffstat (limited to 'hived.go')
-rw-r--r-- | hived.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"` |