Minor fixes

This commit is contained in:
Peng-YM
2022-05-25 18:34:02 +08:00
parent bbfd139ec8
commit a9dc80cffa
3 changed files with 10 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
* #host=google.com
*/
function operator(proxies) {
const host = 'baidu.com';
const { host } = $arguments;
proxies.forEach(p => {
if (p.type === 'vmess' && p.network === 'ws') {
p["ws-opts"] = p["ws-opts"] || {};