mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-16 21:43:33 +08:00
🔥 Sync 2026-10-24 23:19:23
This commit is contained in:
1 parent
9886197604
commit
37e1475e87
59 files changed
+5167
-1483
No files matched your search
@@ -586,11 +586,15 @@ function gen_config_server(node)
|
||||
end
|
||||
end
|
||||
|
||||
if node.protocol == "vmess" or node.protocol == "vless" then
|
||||
if node.protocol == "vless" then
|
||||
settings = {
|
||||
users = users,
|
||||
decryption = (node.decryption and node.decryption ~= "") and node.decryption or "none"
|
||||
}
|
||||
elseif node.protocol == "vmess" then
|
||||
if users then
|
||||
settings = {
|
||||
users = users,
|
||||
decryption = (node.protocol == "vless") and ((node.decryption and node.decryption ~= "") and node.decryption or "none") or nil
|
||||
users = users
|
||||
}
|
||||
end
|
||||
elseif node.protocol == "socks" then
|
||||
|
||||
Reference in new issue
Block a user