master
yutent 2023-06-07 10:55:12 +08:00
parent f39d8ef9f3
commit b820eb8e24
1 changed files with 14 additions and 3 deletions

View File

@ -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]
})