mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-16 06:57:52 +00:00
Add path to vless config
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user