mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-01 12:43:56 +08:00
update 2026-08-11 20:52:11
This commit is contained in:
1 parent
903417940c
commit
e29cecc3c6
1954 files changed
+37
-1523030
No files matched your search
@@ -519,7 +519,7 @@ local function anytls_to_mihomo_node(entry)
|
||||
return nil
|
||||
end
|
||||
|
||||
return {
|
||||
local result = {
|
||||
type = "anytls",
|
||||
alias = entry.name,
|
||||
raw_alias = entry.name,
|
||||
@@ -530,6 +530,12 @@ local function anytls_to_mihomo_node(entry)
|
||||
insecure = entry.allow_insecure and "1" or "0",
|
||||
fingerprint = entry.client_fingerprint
|
||||
}
|
||||
|
||||
local saved_alias = result.alias
|
||||
result.alias = nil
|
||||
result.hashkey = md5(jsonStringify(result) .. "_" .. (saved_alias or ""))
|
||||
result.alias = saved_alias
|
||||
return result
|
||||
end
|
||||
|
||||
local function split_csv_values(value)
|
||||
|
||||
Reference in new issue
Block a user