mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-26 22:34:02 +08:00
feat: hidden api & remove domain unmaintained (#939)
This commit is contained in:
parent
9a8e482593
commit
bd6547873f
@ -17,8 +17,6 @@ Mihomo Dashboard, The Official One, XD
|
|||||||
|
|
||||||
## Published Official Links
|
## Published Official Links
|
||||||
|
|
||||||
GH Pages Custom Domain: http://d.metacubex.one
|
|
||||||
|
|
||||||
GH Pages: https://metacubex.github.io/metacubexd
|
GH Pages: https://metacubex.github.io/metacubexd
|
||||||
|
|
||||||
Cloudflare Pages: https://metacubexd.pages.dev
|
Cloudflare Pages: https://metacubexd.pages.dev
|
||||||
|
@ -62,6 +62,9 @@ export default () => {
|
|||||||
updatingMap,
|
updatingMap,
|
||||||
} = useProxies()
|
} = useProxies()
|
||||||
|
|
||||||
|
const renderProxies = createMemo(() =>
|
||||||
|
proxies().filter((proxy) => !proxy.hidden),
|
||||||
|
)
|
||||||
const { speedGroupByName } = useConnections()
|
const { speedGroupByName } = useConnections()
|
||||||
|
|
||||||
const [collapsedMap, setCollapsedMap] = makePersisted(
|
const [collapsedMap, setCollapsedMap] = makePersisted(
|
||||||
@ -110,7 +113,7 @@ export default () => {
|
|||||||
{
|
{
|
||||||
type: ActiveTab.proxies,
|
type: ActiveTab.proxies,
|
||||||
name: t('proxies'),
|
name: t('proxies'),
|
||||||
count: proxies().length,
|
count: renderProxies().length,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: ActiveTab.proxyProviders,
|
type: ActiveTab.proxyProviders,
|
||||||
@ -171,7 +174,7 @@ export default () => {
|
|||||||
renderProxiesInTwoColumns() ? 'sm:grid-cols-2' : 'sm:grid-cols-1',
|
renderProxiesInTwoColumns() ? 'sm:grid-cols-2' : 'sm:grid-cols-1',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<For each={proxies()}>
|
<For each={renderProxies()}>
|
||||||
{(proxyGroup) => {
|
{(proxyGroup) => {
|
||||||
const sortedProxyNames = createMemo(() =>
|
const sortedProxyNames = createMemo(() =>
|
||||||
filterProxiesByAvailability(
|
filterProxiesByAvailability(
|
||||||
|
1
src/types/index.d.ts
vendored
1
src/types/index.d.ts
vendored
@ -17,6 +17,7 @@ export type Proxy = {
|
|||||||
time: string
|
time: string
|
||||||
delay: number
|
delay: number
|
||||||
}[]
|
}[]
|
||||||
|
hidden: boolean
|
||||||
udp: boolean
|
udp: boolean
|
||||||
xudp: boolean
|
xudp: boolean
|
||||||
tfo: boolean
|
tfo: boolean
|
||||||
|
Loading…
Reference in New Issue
Block a user