diff --git a/public/monitoring.html b/public/monitoring.html
index 4251d21..1780e08 100644
--- a/public/monitoring.html
+++ b/public/monitoring.html
@@ -43,6 +43,11 @@
diff --git a/public/proxies.html b/public/proxies.html
index 6ec736f..b3300df 100644
--- a/public/proxies.html
+++ b/public/proxies.html
@@ -43,6 +43,11 @@
系统监控
+
+
+ 实时日志
+
+
diff --git a/src/services/validator.js b/src/services/validator.js
index 07c3a7a..37a5e4d 100644
--- a/src/services/validator.js
+++ b/src/services/validator.js
@@ -76,16 +76,16 @@ class ProxyValidator {
// 检查响应内容 - 根据不同的测试URL使用不同的验证逻辑
if (response.status >= 200 && response.status < 300) {
- if (testUrl.includes('baidu.com')) {
- isValid = response.data && response.data.includes('百度');
- } else if (testUrl.includes('httpbin.org')) {
- isValid = response.data && (response.data.includes('origin') || response.data.includes('ip'));
- } else if (testUrl.includes('google.com')) {
- isValid = response.data && response.data.toLowerCase().includes('google');
- } else {
+ // if (testUrl.includes('baidu.com')) {
+ // isValid = response.data && response.data.includes('baidu');
+ // } else if (testUrl.includes('httpbin.org')) {
+ // isValid = response.data && (response.data.includes('origin') || response.data.includes('ip'));
+ // } else if (testUrl.includes('google.com')) {
+ // isValid = response.data && response.data.toLowerCase().includes('google');
+ // } else {
// 对于其他URL,只要能连接就认为有效
isValid = true;
- }
+ // }
}
// 只要有一次验证成功,立即返回成功结果