mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-16 06:57:52 +00:00
Fixed REALITY parsing.
This commit is contained in:
@@ -98,7 +98,7 @@ pub fn create_outbound_object(uri: &str) -> config_models::Outbound {
|
|||||||
} else {
|
} else {
|
||||||
None
|
None
|
||||||
},
|
},
|
||||||
realitySettings: if network_type == String::from("reality") {
|
realitySettings: if data.security == Some(String::from("reality")) {
|
||||||
Some(RealitySettings {
|
Some(RealitySettings {
|
||||||
publicKey: data.pbk,
|
publicKey: data.pbk,
|
||||||
serverName: data.sni.clone(),
|
serverName: data.sni.clone(),
|
||||||
|
|||||||
Reference in New Issue
Block a user