feat: cipher 应为小写

This commit is contained in:
xream
2024-10-30 16:07:27 +08:00
parent 314989aa55
commit 241be53cb5
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);
}