mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-26 20:50:30 +08:00
26 lines
547 B
TypeScript
26 lines
547 B
TypeScript
export const defaultConfig: IAppConfig = {
|
|
core: 'mihomo',
|
|
silentStart: false,
|
|
sysProxy: { enable: false, mode: 'manual' }
|
|
}
|
|
|
|
export const defaultControledMihomoConfig: Partial<IMihomoConfig> = {
|
|
'external-controller': '127.0.0.1:9090',
|
|
ipv6: false,
|
|
mode: 'rule',
|
|
'mixed-port': 7890,
|
|
'allow-lan': false,
|
|
'log-level': 'info',
|
|
tun: { enable: false }
|
|
}
|
|
|
|
export const defaultProfileConfig: IProfileConfig = {
|
|
items: []
|
|
}
|
|
|
|
export const defaultProfile: Partial<IMihomoConfig> = {
|
|
proxies: [],
|
|
'proxy-groups': [],
|
|
rules: []
|
|
}
|