feat: Egern 增加默认 sni

This commit is contained in:
xream 2024-12-28 21:00:40 +08:00
parent 0d5e1ab38b
commit 222551eb20
No known key found for this signature in database
GPG Key ID: 1D2C5225471789F9
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',