Minor bug fix

This commit is contained in:
Peng-YM 2022-06-17 22:38:19 +08:00
parent 8fe645ac3f
commit 467c03c9d3
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -35,7 +35,7 @@ function shadowsocks(proxy) {
// obfs
if (isPresent(proxy, 'plugin')) {
if (proxy.plugin === 'obfs') {
result.append(`,obfs=${proxy['plugin-opts']}`);
result.append(`,obfs=${proxy['plugin-opts'].mode}`);
result.appendIfPresent(
`,obfs-host=${proxy['plugin-opts'].host}`,
'plugin-opts.host',

File diff suppressed because one or more lines are too long