Skip to content

Commit

Permalink
feat: Egern 增加默认 sni
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed Dec 28, 2024
1 parent 0d5e1ab commit 222551e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
3 changes: 3 additions & 0 deletions backend/src/core/proxy-utils/producers/egern.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 222551e

Please sign in to comment.