feat: Egern 增加默认 sni

This commit is contained in:
xream
2024-12-28 21:00:40 +08:00
parent 4d51172919
commit bd44e81ed9
2 changed files with 4 additions and 1 deletions

View File

@@ -72,6 +72,9 @@ export default function Egern_Producer() {
return true;
})
.map((proxy) => {
if (proxy.tls && !proxy.sni) {
proxy.sni = proxy.server;
}
if (proxy.type === 'http') {
proxy = {
type: 'http',