Skip to content

Commit

Permalink
Merge pull request #130 from gouz/patch-1
Browse files Browse the repository at this point in the history
Remove console.log
  • Loading branch information
ndaidong authored May 7, 2024
2 parents d1d6695 + a12c966 commit 73122da
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils/retrieve.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 73122da

Please sign in to comment.