diff --git a/broker/broker.go b/broker/broker.go index b3a255e..7e2da8d 100644 --- a/broker/broker.go +++ b/broker/broker.go @@ -218,7 +218,7 @@ func debugHandler(ctx *BrokerContext, w http.ResponseWriter, r *http.Request) { func robotsTxtHandler(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "text/plain; charset=utf-8") - w.Write([]byte("User-agent: *\nDisallow:\n")) + w.Write([]byte("User-agent: *\nDisallow: /\n")) } func main() {