mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-15 14:47:51 +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 {
|
||||
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(),
|
||||
|
||||
Reference in New Issue
Block a user