fix: typo in api.ts (#207)

This commit is contained in:
Priestch 2022-09-24 18:48:11 +08:00 committed by GitHub
parent c00ed8aa5a
commit bbbdc8b7a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ let axiosIns: AxiosInstance = null!;
let server = "";
let secret = "";
/// initialize some infomation
/// initialize some information
/// enable force update axiosIns
export async function getAxios(force: boolean = false) {
if (axiosIns && !force) return axiosIns;
@ -97,7 +97,7 @@ async function getProxiesInner() {
}
}
/// Get the Proxy infomation
/// Get the Proxy information
export async function getProxies() {
const [proxyRecord, providerRecord] = await Promise.all([
getProxiesInner(),