From a12c96699bd3cab822b21317e1dcc8f0feccb9d8 Mon Sep 17 00:00:00 2001 From: Sylvain Gougouzian Date: Tue, 7 May 2024 13:59:31 +0200 Subject: [PATCH] Remove console.log --- src/utils/retrieve.js | 1 - 1 file changed, 1 deletion(-) 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)