Skip to content

Commit ee9b4fc

Browse files
Updated docs.
1 parent b379945 commit ee9b4fc

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

docs/en/docs/configuration/vless-trojan.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ As noted, a Proxy IP fixes the IP for Cloudflare target addresses, but node IPs
4646
!!! note
4747
The Chain Proxy config must not be a worker itself, or the final IP will still change.
4848

49-
!!! tip
50-
Free configs are available from sources like [racevpn.com](https://racevpn.com). Their free plan configs expire after three days but are stable and region-specific.
51-
5249
!!! note
5350
VLESS and Trojan configs support:
5451

docs/fa/docs/configuration/vless-trojan.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ https://8.8.8.8/dns-query
4646
!!! note "یادداشت"
4747
کانفیگ Chain Proxy نباید خودش Worker باشه، وگرنه IP نهایی بازم تغییر می‌کنه.
4848

49-
!!! tip "نکته"
50-
کانفیگ‌های رایگان از منابعی مثل [racevpn.com](https://racevpn.com) در دسترسن. کانفیگ‌های طرح رایگانشون بعد از سه روز منقضی می‌شن، ولی پایدارن و بر اساس منطقه تنظیم شدن.
51-
5249
!!! info "راهنمایی"
5350
انواع کانفیگ‌های VLESS و Trojan پشتیبانی‌شده شامل موارد زیره:
5451

src/assets/panel/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,10 +781,10 @@ function validateChainProxy() {
781781
const isSocksHttp = /^(http|socks):\/\/(?:([^:@]+):([^:@]+)@)?([^:@]+):(\d+)$/.test(chainProxy);
782782
const securityRegex = /security=(tls|none|reality)/;
783783
const validSecurityType = securityRegex.test(chainProxy);
784-
const validTransmission = /type=(tcp|grpc|ws)/.test(chainProxy);
784+
const validTransmission = /type=(tcp|grpc|ws|httpupgrade)/.test(chainProxy);
785785

786786
if (!((isVless || isTrojan) && (hasSecurity && validSecurityType || !hasSecurity) && validTransmission) && !isShadowsocks && !isSocksHttp && chainProxy) {
787-
alert('⛔ Invalid Config!\n💡 The chain proxy should be VLESS, Trojan, Shadowsocks, Socks or Http!\n💡 VLESS, Trojan and Shadowsocks transmission should be GRPC,WS or TCP\n💡 VLESS, Trojan and Shadowsocks security should be TLS, Reality or None\n💡 Socks or http should be like:\n + (socks or http)://user:pass@host:port\n + (socks or http)://host:port');
787+
alert('⛔ Invalid Config!\n💡 The chain proxy should be VLESS, Trojan, Shadowsocks, Socks or Http!\n💡 VLESS, Trojan transmission should be GRPC,WS or TCP\n💡 VLESS, Trojan and Shadowsocks security should be TLS, Reality or None\n💡 Socks or http should be like:\n + (socks or http)://user:pass@host:port\n + (socks or http)://host:port');
788788
return false;
789789
}
790790

0 commit comments

Comments
 (0)