diff --git a/src/utils/retrieve.js b/src/utils/retrieve.js index 2eee201..4de4d12 100755 --- a/src/utils/retrieve.js +++ b/src/utils/retrieve.js @@ -50,7 +50,6 @@ export default async (url, options = {}) => { const buffer = await res.arrayBuffer() const text = buffer ? Buffer.from(buffer).toString().trim() : '' - console.log(contentType) if (/(\+|\/)(xml|html)/.test(contentType)) { const arr = contentType.split('charset=') let charset = arr.length === 2 ? arr[1].trim() : getCharsetFromText(text)