Fixed REALITY parsing.

This commit is contained in:
Ultradesu
2025-11-27 16:45:57 +02:00
parent 40b92a7eae
commit 9d525dfad8

View File

@@ -98,7 +98,7 @@ pub fn create_outbound_object(uri: &str) -> config_models::Outbound {
} else {
None
},
realitySettings: if network_type == String::from("reality") {
realitySettings: if data.security == Some(String::from("reality")) {
Some(RealitySettings {
publicKey: data.pbk,
serverName: data.sni.clone(),