fix(routing): write lowercase L4 network to xray config, display uppercase in UI

This commit is contained in:
MHSanaei
2026-06-27 11:15:13 +02:00
parent 7a2179535a
commit 535b89a352
3 changed files with 3 additions and 3 deletions
@@ -55,7 +55,7 @@ const initialForm = (): FormState => ({
balancerTag: '',
});
const NETWORKS = ['', 'TCP', 'UDP', 'TCP,UDP'];
const NETWORKS = ['', 'tcp', 'udp', 'tcp,udp'];
const PROTOCOLS = ['http', 'tls', 'bittorrent', 'quic'];
function csv(value: string): string[] {