diff --git a/scripts/vmess-ws-obfs-host.js b/scripts/vmess-ws-obfs-host.js index ca13234..58c45c5 100644 --- a/scripts/vmess-ws-obfs-host.js +++ b/scripts/vmess-ws-obfs-host.js @@ -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"] || {}; diff --git a/vs.code-workspace b/vs.code-workspace new file mode 100644 index 0000000..876a149 --- /dev/null +++ b/vs.code-workspace @@ -0,0 +1,8 @@ +{ + "folders": [ + { + "path": "." + } + ], + "settings": {} +} \ No newline at end of file diff --git a/web/src/views/SubEditor.vue b/web/src/views/SubEditor.vue index 3068f27..23ba69e 100644 --- a/web/src/views/SubEditor.vue +++ b/web/src/views/SubEditor.vue @@ -8,7 +8,7 @@