mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-04-21 21:29:37 +08:00
9 lines
215 B
JavaScript
9 lines
215 B
JavaScript
function operator(proxies) {
|
|
const host = $arguments.host;
|
|
proxies.forEach(p => {
|
|
if (p.type === 'vmess') {
|
|
p["ws-opts"]["headers"]["Host"] = host;
|
|
}
|
|
});
|
|
return proxies;
|
|
} |