mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2026-12-03 09:45:54 +00:00
Add vmess ws obfs host script
This commit is contained in:
1 parent
47451c2df7
commit
975b53db41
1 file changed
+9
@@ -0,0 +1,9 @@
|
||||
function operator(proxies) {
|
||||
const host = $arguments.host;
|
||||
proxies.forEach(p => {
|
||||
if (p.type === 'vmess') {
|
||||
p["ws-opts"]["headers"]["Host"] = host;
|
||||
}
|
||||
});
|
||||
return proxies;
|
||||
}
|
||||
Reference in new issue
Block a user