Fixed QX Producer Bug (#13)

Special thanks to @omeks
This commit is contained in:
omeks 2020-10-14 10:27:17 +08:00 committed by GitHub
parent 1fb453c106
commit f3b780370c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1653,7 +1653,7 @@ function QX_Producer() {
path ? ",obfs-uri=" + path : "" path ? ",obfs-uri=" + path : ""
}`; }`;
} }
return `shadowsocks = ${proxy.server}:${proxy.port}, method=${ return `shadowsocks=${proxy.server}:${proxy.port}, method=${
proxy.cipher proxy.cipher
}, password=${proxy.password}${obfs_opts}${ }, password=${proxy.password}${obfs_opts}${
proxy.tfo ? ", fast-open=true" : ", fast-open=false" proxy.tfo ? ", fast-open=true" : ", fast-open=false"
@ -1705,7 +1705,7 @@ function QX_Producer() {
case "trojan": case "trojan":
return `trojan=${proxy.server}:${proxy.port},password=${ return `trojan=${proxy.server}:${proxy.port},password=${
proxy.password proxy.password
}${proxy.sni ? ",tls-host=" + proxy.sni : ""},tls-verification=${ }${proxy.sni ? ",tls-host=" + proxy.sni : ""},over-tls=true,tls-verification=${
proxy.scert ? "false" : "true" proxy.scert ? "false" : "true"
}${proxy.tfo ? ",fast-open=true" : ",fast-open=false"}${ }${proxy.tfo ? ",fast-open=true" : ",fast-open=false"}${
proxy.udp ? ",udp-relay=true" : ",udp-relay=false" proxy.udp ? ",udp-relay=true" : ",udp-relay=false"

File diff suppressed because one or more lines are too long