mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
11 lines
256 B
JavaScript
11 lines
256 B
JavaScript
function main(config, _name) {
|
|
if (Array.isArray(config.proxies)) {
|
|
config.proxies.forEach((p, i) => {
|
|
if (p.type === "hysteria" && typeof p.alpn === "string") {
|
|
config.proxies[i].alpn = [p.alpn];
|
|
}
|
|
});
|
|
}
|
|
return config;
|
|
}
|