mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-03 00:17:47 +00:00
fix(cliproxy): keep remote-proxy client under maintainability limit
This commit is contained in:
@@ -341,14 +341,7 @@ export async function checkRemoteProxy(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** Alias for dashboard connection tests. */
|
||||||
* Test connection to remote CLIProxyAPI (alias for dashboard use)
|
|
||||||
*
|
|
||||||
* This is an alias for checkRemoteProxy() for semantic clarity in UI contexts.
|
|
||||||
*
|
|
||||||
* @param config Remote proxy client configuration
|
|
||||||
* @returns RemoteProxyStatus with reachability and latency
|
|
||||||
*/
|
|
||||||
export async function testConnection(config: RemoteProxyClientConfig): Promise<RemoteProxyStatus> {
|
export async function testConnection(config: RemoteProxyClientConfig): Promise<RemoteProxyStatus> {
|
||||||
return checkRemoteProxy(config);
|
return checkRemoteProxy(config);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user