mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:43:35 +00:00
fix: 修复droid账号更新丢失apikey的问题
This commit is contained in:
@@ -3160,6 +3160,15 @@ const parseProxyResponse = (rawProxy) => {
|
||||
}
|
||||
}
|
||||
|
||||
if (
|
||||
proxyObject &&
|
||||
typeof proxyObject === 'object' &&
|
||||
proxyObject.proxy &&
|
||||
typeof proxyObject.proxy === 'object'
|
||||
) {
|
||||
proxyObject = proxyObject.proxy
|
||||
}
|
||||
|
||||
if (!proxyObject || typeof proxyObject !== 'object') {
|
||||
return null
|
||||
}
|
||||
|
||||
@@ -2488,7 +2488,7 @@ const filterByGroup = () => {
|
||||
}
|
||||
|
||||
// 规范化代理配置,支持字符串与对象
|
||||
const normalizeProxyData = (proxy) => {
|
||||
function normalizeProxyData(proxy) {
|
||||
if (!proxy) {
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user