Add path to vless config

This commit is contained in:
Keivan-sf
2025-06-23 12:18:11 +03:30
parent 96f015626b
commit b4dacb5aa5

View File

@@ -28,7 +28,7 @@ pub fn create_outbound_object(data: models::VlessData) -> Outbound {
}, },
wsSettings: if data.query.r#type == String::from("ws") { wsSettings: if data.query.r#type == String::from("ws") {
Some(WsSettings { Some(WsSettings {
path: Some(String::from("")), path: Some(data.query.path),
acceptProxyProtocol: None, acceptProxyProtocol: None,
}) })
} else { } else {