Update API response mime type

This commit is contained in:
Alexey Khit
2023-05-31 14:41:57 +03:00
parent 397eb0b6ee
commit 888159d2b6
5 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -52,5 +52,5 @@ func stackHandler(w http.ResponseWriter, r *http.Request) {
"Total: %d, Skipped: %d", runtime.NumGoroutine(), skipped),
)
api.ResponseText(w, buf[:i])
api.Response(w, buf[:i], api.MimeText)
}