fix a typo in trojan type

This commit is contained in:
Shawn
2020-05-13 22:01:57 +08:00
parent 2bfa5baee0
commit 28e7a22636
2 changed files with 1 additions and 1 deletions

View File

@@ -440,7 +440,7 @@ function TJ2QX(subs,Pudp,Ptfo,Pcert,Ptls13){
var ntrojan=[]
var cnt=list0[i].split("trojan://")[1]
type="trojan=";
ip=cnt.split("@")[1].split("443")[0]+":443";
ip=cnt.split("@")[1].split(":443")[0]+":443";
pwd="password="+cnt.split("@")[0];
obfs="over-tls=true";
pcert= cnt.indexOf("allowInsecure=0")!= -1? "tls-verification=true":"tls-verification=false";