Use fingerprints in tls settings

This commit is contained in:
Keivan-sf
2025-07-23 20:03:51 +03:30
parent 8e5c6e5cbb
commit 4c0cddda3f

View File

@@ -20,7 +20,7 @@ pub fn create_outbound_object(data: models::VlessData) -> Outbound {
cipherSuites: None, cipherSuites: None,
disableSystemRoot: None, disableSystemRoot: None,
preferServerCipherSuites: None, preferServerCipherSuites: None,
fingerprint: Some(String::from("")), fingerprint: Some(data.query.fp.clone()),
serverName: Some(data.query.sni.clone()), serverName: Some(data.query.sni.clone()),
allowInsecure: Some(false), allowInsecure: Some(false),
}) })