Skip to content
Snippets Groups Projects
Unverified Commit bbbdc8b7 authored by Priestch's avatar Priestch Committed by GitHub
Browse files

fix: typo in api.ts (#207)

parent c00ed8aa
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ let axiosIns: AxiosInstance = null!; ...@@ -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() { ...@@ -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(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment