mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-17 10:35:02 +03:00
feat(amneziawg): remove the vestigial routeThroughXray toggle from the UI
Hard cutover, part 4: the embedded path has no opt-in gate for Xray routing at all (every peer's traffic already goes through Xray's own SOCKS5 relay unconditionally -- see xray.go's injectAmneziawgnetSocks), so a toggle that no longer does anything would just confuse admins. Removed from the form (amneziawg.tsx), the per-protocol Zod schema and its new-inbound default, and the routeThroughXray/routeThroughXrayHint i18n strings across all 13 locales. The Go-side field stays (see internal/amneziawg's ServerSettings/Instance, already annotated as vestigial in the previous commit) for backward compatibility with existing stored settings -- z.object's default unknown-key stripping means the form simply drops it from an existing inbound's settings on its next save, no migration needed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1654,8 +1654,6 @@
|
||||
"ipv6SubnetHint": "例: fd86:ea04:1115::/64。IPv6有効時は必須。",
|
||||
"ipv6ExternalInterface": "IPv6外部NIC",
|
||||
"ipv6ExternalInterfaceHint": "NDPプロキシエントリに使用するホストのNIC。空欄で外部NICを使用。",
|
||||
"routeThroughXray": "Xray経由でルーティング",
|
||||
"routeThroughXrayHint": "デフォルトではオフです。オフの場合トンネルはXrayに一切依存しません。オンにすると、各クライアントのトラフィックはこのインバウンド専用のXrayブリッジへリダイレクトされ、実際のアウトバウンドは他のプロトコルと同様にルーティングページから選択します。",
|
||||
"obfuscation": "難読化パラメータ",
|
||||
"regenerateObfuscation": "再生成",
|
||||
"jc": "Jc(ジャンクパケット数)",
|
||||
|
||||
Reference in New Issue
Block a user