whistle.mock-plugins 1.0.6-beta.23 → 1.0.6-beta.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -44,7 +44,7 @@ const regexCache = new Map();
|
|
|
44
44
|
// URL匹配函数,提取为纯函数减少重复代码
|
|
45
45
|
const isUrlMatchPattern = (url, pattern, proxyType) => {
|
|
46
46
|
if (!url || !pattern) return false;
|
|
47
|
-
|
|
47
|
+
console.log(`isUrlMatchPattern ${url} - ${pattern}`);
|
|
48
48
|
try {
|
|
49
49
|
// 对于url_redirect类型,需要完全匹配
|
|
50
50
|
if (proxyType === 'url_redirect') {
|