mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-06 16:23:44 +08:00
fix: typo in api.ts (#207)
This commit is contained in:
parent
f3de93d73a
commit
37d8a563c0
@ -5,7 +5,7 @@ let axiosIns: AxiosInstance = null!;
|
|||||||
let server = "";
|
let server = "";
|
||||||
let secret = "";
|
let secret = "";
|
||||||
|
|
||||||
/// initialize some infomation
|
/// initialize some information
|
||||||
/// enable force update axiosIns
|
/// enable force update axiosIns
|
||||||
export async function getAxios(force: boolean = false) {
|
export async function getAxios(force: boolean = false) {
|
||||||
if (axiosIns && !force) return axiosIns;
|
if (axiosIns && !force) return axiosIns;
|
||||||
@ -97,7 +97,7 @@ async function getProxiesInner() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get the Proxy infomation
|
/// Get the Proxy information
|
||||||
export async function getProxies() {
|
export async function getProxies() {
|
||||||
const [proxyRecord, providerRecord] = await Promise.all([
|
const [proxyRecord, providerRecord] = await Promise.all([
|
||||||
getProxiesInner(),
|
getProxiesInner(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user