Merge branch 'feat/binary-response' of https://github.com/AndrewBastin/postwoman into feat/binary-response
This commit is contained in:
@@ -158,7 +158,7 @@ export default {
|
|||||||
if (this.$refs.previewFrame.getAttribute("data-previewing-url") === this.url) return
|
if (this.$refs.previewFrame.getAttribute("data-previewing-url") === this.url) return
|
||||||
// Use DOMParser to parse document HTML.
|
// Use DOMParser to parse document HTML.
|
||||||
const previewDocument = new DOMParser().parseFromString(
|
const previewDocument = new DOMParser().parseFromString(
|
||||||
this.response.body,
|
this.responseBodyText,
|
||||||
this.responseType
|
this.responseType
|
||||||
)
|
)
|
||||||
// Inject <base href="..."> tag to head, to fix relative CSS/HTML paths.
|
// Inject <base href="..."> tag to head, to fix relative CSS/HTML paths.
|
||||||
|
|||||||
Reference in New Issue
Block a user