mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 00:53:33 +00:00
fix: 修复oai代理密码保存问题
This commit is contained in:
@@ -671,10 +671,6 @@ async function getAllAccounts() {
|
|||||||
if (accountData.proxy) {
|
if (accountData.proxy) {
|
||||||
try {
|
try {
|
||||||
accountData.proxy = JSON.parse(accountData.proxy)
|
accountData.proxy = JSON.parse(accountData.proxy)
|
||||||
// 屏蔽代理密码
|
|
||||||
if (accountData.proxy && accountData.proxy.password) {
|
|
||||||
accountData.proxy.password = '******'
|
|
||||||
}
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// 如果解析失败,设置为null
|
// 如果解析失败,设置为null
|
||||||
accountData.proxy = null
|
accountData.proxy = null
|
||||||
|
|||||||
Reference in New Issue
Block a user