mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2026-11-08 19:08:50 +00:00
Parse trojan URIs
This commit is contained in:
1 parent
b27f6e776f
commit
2a6c452c0d
7 files changed
+105
-4
No files matched your search
@@ -7,7 +7,7 @@ pub fn create_outbound_settings(data: &RawData) -> OutboundSettings {
|
||||
vnext: vec![VlessServerObject {
|
||||
port: data.port,
|
||||
address: data.address.clone(),
|
||||
users: Some(vec![VlessUser {
|
||||
users: Some(vec![VnextUser {
|
||||
id: data.uuid.clone(),
|
||||
flow: data.flow.clone(),
|
||||
encryption: Some(data.encryption.clone().unwrap_or(String::from("none"))),
|
||||
|
||||
Reference in new issue
Block a user