parent
82dcba042a
commit
8a2c3d83a8
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
||||||
import { atom } from 'recoil';
|
import { atom } from 'recoil';
|
||||||
/* import { ProxyItem, ProxiesMapping, DelayMapping } from 'src/store/types'; */
|
|
||||||
import {
|
import {
|
||||||
DispatchFn,
|
DispatchFn,
|
||||||
FormattedProxyProvider,
|
FormattedProxyProvider,
|
||||||
|
@ -35,9 +34,10 @@ const noop = () => null;
|
||||||
|
|
||||||
export const NonProxyTypes = [
|
export const NonProxyTypes = [
|
||||||
'Direct',
|
'Direct',
|
||||||
'Fallback',
|
|
||||||
'Reject',
|
'Reject',
|
||||||
|
'Relay',
|
||||||
'Selector',
|
'Selector',
|
||||||
|
'Fallback',
|
||||||
'URLTest',
|
'URLTest',
|
||||||
'LoadBalance',
|
'LoadBalance',
|
||||||
'Unknown',
|
'Unknown',
|
||||||
|
@ -60,7 +60,7 @@ export function fetchProxies(apiConfig: ClashAPIConfig) {
|
||||||
const { providers: proxyProviders, proxies: providerProxies } = formatProxyProviders(
|
const { providers: proxyProviders, proxies: providerProxies } = formatProxyProviders(
|
||||||
providersData.providers
|
providersData.providers
|
||||||
);
|
);
|
||||||
const proxies = { ...providerProxies, ...proxiesData.proxies };
|
const proxies = { ...proxiesData.proxies, ...providerProxies };
|
||||||
const [groupNames, proxyNames] = retrieveGroupNamesFrom(proxies);
|
const [groupNames, proxyNames] = retrieveGroupNamesFrom(proxies);
|
||||||
|
|
||||||
const delayPrev = getDelay(getState());
|
const delayPrev = getDelay(getState());
|
||||||
|
|
Loading…
Reference in a new issue