From 35e5842b39061cb88a4d3bc922116f59e39f3a8a Mon Sep 17 00:00:00 2001 From: cilame Date: Mon, 30 Jan 2023 10:10:56 +0800 Subject: [PATCH] add --- inject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inject.js b/inject.js index 80e365b..2f080e4 100644 --- a/inject.js +++ b/inject.js @@ -1137,7 +1137,7 @@ function injectfunc(e, window) { var v_Error = Error window.globalConfig = e; console.log("inject start!", e) - if (e["config-hook-regexp-url"].trim()){ + if ((e["config-hook-regexp-url"] || '').trim()){ console.log('[*] 配置了只收集对某个js路径才输出的配置(如出现控制台不输出hook,注意配置该项为空):', e["config-hook-regexp-url"]) } // 备份 console.log