aboutsummaryrefslogtreecommitdiffstats
path: root/hived.go
diff options
context:
space:
mode:
Diffstat (limited to 'hived.go')
-rw-r--r--hived.go1
1 files changed, 1 insertions, 0 deletions
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"`