mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-16 21:43:33 +08:00
🌈 Sync 2026-05-19 02:35:14
This commit is contained in:
1 parent
595807ea37
commit
ca5e918f4b
81 files changed
+12003
-3193
No files matched your search
@@ -67,11 +67,7 @@ function gen_config(var)
|
||||
server_host = api.get_ipv6_full(server_host)
|
||||
end
|
||||
|
||||
local server = server_host .. (server_port and ":" .. server_port or "")
|
||||
|
||||
if node.hysteria2_hop then
|
||||
server = server .. (server_port and "," or ":") .. string.gsub(node.hysteria2_hop, ":", "-")
|
||||
end
|
||||
local server = server_host .. ":" .. ((server_port or "") .. "," .. (node.hysteria2_hop or "")):gsub("^[%s,]+", ""):gsub("[%s,]+$", ""):gsub(":", "-")
|
||||
|
||||
local config = {
|
||||
server = (function()
|
||||
|
||||
Reference in new issue
Block a user