mirror of
https://github.com/SukkaW/Surge.git
synced 2026-02-03 04:21:53 +08:00
Chore: fix singbox & clash processPath, more TODO
This commit is contained in:
@@ -30,8 +30,7 @@ const PROCESSOR: Record<string, ((raw: string, type: string, value: string) => s
|
||||
'SRC-IP-CIDR': identity,
|
||||
'SRC-PORT': identity,
|
||||
'DST-PORT': identity,
|
||||
'PROCESS-NAME': identity,
|
||||
'PROCESS-PATH': identity,
|
||||
'PROCESS-NAME': (_raw, _type, value) => ((value.includes('/') || value.includes('\\')) ? `PROCESS-PATH,${value}` : `PROCESS-NAME,${value}`),
|
||||
'DEST-PORT': (_raw, _type, value) => `DST-PORT,${value}`,
|
||||
'IN-PORT': (_raw, _type, value) => `SRC-PORT,${value}`,
|
||||
'URL-REGEX': unsupported,
|
||||
|
||||
Reference in New Issue
Block a user