diff options
author | terminaldweller <thabogre@gmail.com> | 2021-07-22 04:13:42 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-07-22 04:13:42 +0000 |
commit | b9a191dce93c5b5d6825c14d2ad336914ff4ef86 (patch) | |
tree | de7048f25c30eb4206961c5d85976ed1a96c8458 /hived.go | |
parent | want to switch to grpc for the telegram bot. obviously take the telegram bot ... (diff) | |
download | hived-b9a191dce93c5b5d6825c14d2ad336914ff4ef86.tar.gz hived-b9a191dce93c5b5d6825c14d2ad336914ff4ef86.zip |
go mod update and postman update [ci skip]
Diffstat (limited to '')
-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"` |