fix: add meta fields

This commit is contained in:
GyDi 2023-02-18 00:46:03 +08:00
parent 5b8c246d53
commit 91b77e5237
No known key found for this signature in database
GPG Key ID: 9C3AD40F1F99880A
2 changed files with 16 additions and 8 deletions

View File

@ -20,7 +20,7 @@ pub const DEFAULT_FIELDS: [&str; 5] = [
"rule-providers",
];
pub const OTHERS_FIELDS: [&str; 25] = [
pub const OTHERS_FIELDS: [&str; 29] = [
"dns",
"tun",
"ebpf",
@ -39,13 +39,17 @@ pub const OTHERS_FIELDS: [&str; 25] = [
"external-ui",
"bind-address",
"authentication",
"tls", // meta
"sniffer", // meta
"listeners", // meta
"sub-rules", // meta
"geodata-mode", // meta
"tcp-concurrent", // meta
"enable-process", // meta
"tls", // meta
"sniffer", // meta
"geox-url", // meta
"listeners", // meta
"sub-rules", // meta
"geodata-mode", // meta
"tcp-concurrent", // meta
"enable-process", // meta
"find-process-mode", // meta
"external-controller-tls", // meta
"global-client-fingerprint", // meta
];
pub fn use_clash_fields() -> Vec<String> {

View File

@ -39,9 +39,13 @@ export const OTHERS_FIELDS = [
"authentication",
"tls", // meta
"sniffer", // meta
"geox-url", // meta
"listeners", // meta
"sub-rules", // meta
"geodata-mode", // meta
"tcp-concurrent", // meta
"enable-process", // meta
"find-process-mode", // meta
"external-controller-tls", // meta
"global-client-fingerprint", // meta
] as const;