fixed
parent
f39d8ef9f3
commit
b820eb8e24
|
@ -76,14 +76,25 @@ export default {
|
|||
'skip-cert-verify': true
|
||||
})
|
||||
break
|
||||
|
||||
case 'vless':
|
||||
Object.assign(info, {
|
||||
password: tmp2.searchParams.get('pbk'),
|
||||
sni: tmp2.searchParams.get('sni'),
|
||||
'skip-cert-verify': true,
|
||||
udp: false
|
||||
})
|
||||
break
|
||||
}
|
||||
|
||||
names.push(`"${info.name}"`)
|
||||
txt += ` - { name: ${info.name}, type: ${info.type}, server: ${
|
||||
info.server
|
||||
}, port: ${info.port}, password: ${info.password}, udp: true, ${
|
||||
info.type === 'ss' ? 'cipher' : 'sni'
|
||||
}: ${info.type === 'ss' ? info.cipher : info.sni}}\n`
|
||||
}, port: ${info.port}, password: ${info.password}, udp: ${
|
||||
info.udp
|
||||
}, ${info.type === 'ss' ? 'cipher' : 'sni'}: ${
|
||||
info.type === 'ss' ? info.cipher : info.sni
|
||||
}}\n`
|
||||
return [info.name, info.type]
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue