mihomo-party/src/main/utils/template.ts
2024-08-07 09:50:27 +08:00

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: []
}