Skip to content

Commit

Permalink
feat: cipher 应为小写
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed Oct 30, 2024
1 parent e09d660 commit 07e5017
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.14.406",
"version": "2.14.407",
"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/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ function formatTransportPath(path) {
}

function lastParse(proxy) {
if (typeof proxy.cipher === 'string') {
proxy.cipher = proxy.cipher.toLowerCase();
}
if (typeof proxy.password === 'number') {
proxy.password = numberToString(proxy.password);
}
Expand Down

0 comments on commit 07e5017

Please sign in to comment.