mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 01:00:34 +08:00
Change Clash support rule types
This commit is contained in:
parent
8c4f259edb
commit
079d2f6693
@ -2,16 +2,19 @@
|
||||
const _Trie = require('mnemonist/trie');
|
||||
const Trie = _Trie.default || _Trie;
|
||||
|
||||
// https://dreamacro.github.io/clash/configuration/rules.html
|
||||
const CLASH_SUPPORTED_RULE_TYPE = [
|
||||
'DOMAIN',
|
||||
'DOMAIN-SUFFIX',
|
||||
'DOMAIN-KEYWORD',
|
||||
'DOMAIN',
|
||||
'SRC-IP-CIDR',
|
||||
'GEOIP',
|
||||
'IP-CIDR',
|
||||
'IP-CIDR6',
|
||||
'SRC-IP-CIDR',
|
||||
'SRC-PORT',
|
||||
'DST-PORT',
|
||||
'SRC-PORT'
|
||||
'PROCESS-NAME',
|
||||
'PROCESS-PATH'
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user