mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 13:10:30 +08:00
adjust default values and text
This commit is contained in:
parent
1e6b1681f7
commit
7908afd83b
@ -38,7 +38,7 @@ export const defaultConfig: IAppConfig = {
|
||||
export const defaultControledMihomoConfig: Partial<IMihomoConfig> = {
|
||||
'external-controller': '127.0.0.1:9090',
|
||||
secret: '',
|
||||
ipv6: false,
|
||||
ipv6: true,
|
||||
mode: 'rule',
|
||||
'mixed-port': 7890,
|
||||
'socks-port': 7891,
|
||||
|
||||
@ -31,8 +31,8 @@ const ProxyItem: React.FC<Props> = (props) => {
|
||||
}
|
||||
|
||||
function delayText(delay: number): string {
|
||||
if (delay === -1) return 'Delay'
|
||||
if (delay === 0) return 'Timeout'
|
||||
if (delay === -1) return '测试'
|
||||
if (delay === 0) return '超时'
|
||||
return delay.toString()
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user