Fixed crash on proxy error
This commit is contained in:
@@ -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)
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user