Fixed crash on proxy error

This commit is contained in:
Andrew Bastin
2020-07-20 23:47:22 -04:00
parent cbae718d25
commit 4a1988dd23
2 changed files with 1 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ export default {
},
computed: {
responseBodyText() {
if (typeof this.response.body === "string") return this.response.body
return new TextDecoder("utf-8").decode(this.response.body)
},
},