mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2026-11-17 13:29:50 +00:00
Fixed REALITY parsing.
This commit is contained in:
1 parent
40b92a7eae
commit
9d525dfad8
1 file changed
+1
-1
+1
-1
@@ -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