fixed proxy handler
This commit is contained in:
parent
4d7c7df909
commit
cdc2f44e86
3 changed files with 79 additions and 91 deletions
|
|
@ -8,10 +8,6 @@ import { fetch } from '@stock-bot/utils';
|
|||
|
||||
import { PROXY_CONFIG } from '../shared/config';
|
||||
import type { ProxySource } from '../shared/types';
|
||||
httpClient = new HttpClient({ timeout: 10000 }, ctx.logger);
|
||||
}
|
||||
return httpClient;
|
||||
}
|
||||
|
||||
export async function fetchProxiesFromSources(): Promise<ProxyInfo[]> {
|
||||
const ctx = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue