Skip to content

Commit

Permalink
fix: VMess URI 输入传输层为 HTTP 时, path 默认为 /
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed May 30, 2024
1 parent 9ce5916 commit 9e64a68
Show file tree
Hide file tree
Showing 2 changed files with 3 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.14.323",
"version": "2.14.324",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions backend/src/core/proxy-utils/parsers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ function URI_VMess() {
transportPath = Array.isArray(transportPath)
? transportPath[0]
: transportPath;
} else {
transportPath = '/';
}
}
if (transportPath || transportHost) {
Expand Down

0 comments on commit 9e64a68

Please sign in to comment.