mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-26 20:50:30 +08:00
31 lines
577 B
TypeScript
31 lines
577 B
TypeScript
export const defaultConfig: IAppConfig = {
|
|
core: 'mihomo',
|
|
silentStart: false
|
|
}
|
|
|
|
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'
|
|
}
|
|
|
|
export const defaultProfileConfig: IProfileConfig = {
|
|
current: 'default',
|
|
profiles: [
|
|
{
|
|
id: 'default',
|
|
type: 'local',
|
|
name: '默认'
|
|
}
|
|
]
|
|
}
|
|
|
|
export const defaultProfile: Partial<IMihomoConfig> = {
|
|
proxies: [],
|
|
'proxy-groups': [],
|
|
rules: []
|
|
}
|