feat: cipher 应为小写

This commit is contained in:
xream
2024-10-30 16:07:27 +08:00
parent e09d66060d
commit 07e50175f9
2 changed files with 4 additions and 1 deletions

View File

@@ -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);
}