fix: typo in api.ts (#207)
This commit is contained in:
parent
c00ed8aa5a
commit
bbbdc8b7a6
@ -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