fixed
parent
f39d8ef9f3
commit
b820eb8e24
|
@ -76,14 +76,25 @@ export default {
|
||||||
'skip-cert-verify': true
|
'skip-cert-verify': true
|
||||||
})
|
})
|
||||||
break
|
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}"`)
|
names.push(`"${info.name}"`)
|
||||||
txt += ` - { name: ${info.name}, type: ${info.type}, server: ${
|
txt += ` - { name: ${info.name}, type: ${info.type}, server: ${
|
||||||
info.server
|
info.server
|
||||||
}, port: ${info.port}, password: ${info.password}, udp: true, ${
|
}, port: ${info.port}, password: ${info.password}, udp: ${
|
||||||
info.type === 'ss' ? 'cipher' : 'sni'
|
info.udp
|
||||||
}: ${info.type === 'ss' ? info.cipher : info.sni}}\n`
|
}, ${info.type === 'ss' ? 'cipher' : 'sni'}: ${
|
||||||
|
info.type === 'ss' ? info.cipher : info.sni
|
||||||
|
}}\n`
|
||||||
return [info.name, info.type]
|
return [info.name, info.type]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue