Skip to content

Commit b63889d

Browse files
committed
Added Content-Type header
1 parent e426457 commit b63889d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

planbot.go

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ func planbotHandler(w http.ResponseWriter, r *http.Request) {
4848
return
4949
}
5050

51+
w.Header().Set("Content-Type", "application/json")
5152
w.WriteHeader(status)
5253
w.Write(responseJson)
5354
}

0 commit comments

Comments
 (0)