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

@@ -1,6 +1,6 @@
{
"name": "sub-store",
"version": "2.15.2",
"version": "2.15.3",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js",
"scripts": {

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',