From 1e4a90f19aa6a92f2bd3f44130c69edfd88f7417 Mon Sep 17 00:00:00 2001 From: huggy <6511667+makeding@users.noreply.github.com> Date: Fri, 11 Sep 2020 10:50:16 +0800 Subject: [PATCH] =?UTF-8?q?chooseUserAgent=20function=20->=20const=20?= =?UTF-8?q?=E5=9B=A0=E4=B8=BA=E5=87=BD=E6=95=B0=E9=87=8D=E6=9E=84=E4=BA=86?= =?UTF-8?q?=20=E7=9B=B4=E6=8E=A5=E7=94=A8=20function=20=E4=BA=86=20?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=B3=A8=E6=84=8F=E5=88=B0=E5=85=B6=E5=AE=83?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E6=98=AF=E5=8F=98=E9=87=8F=E5=BD=A2=E5=BC=8F?= =?UTF-8?q?=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/request.js b/util/request.js index ccb4d87..f68537d 100644 --- a/util/request.js +++ b/util/request.js @@ -6,7 +6,7 @@ const zlib = require('zlib') // request.debug = true // 开启可看到更详细信息 -function chooseUserAgent(ua = false) { +const chooseUserAgent = (ua = false) => { // UA 列表要经常更新啊 const userAgentList = { mobile: [