Skip to content

Commit d27b9e1

Browse files
committed
fix: update regex for MIHOMO subscription config type
- Enhanced the REGEX pattern for the MIHOMO subscription configuration to include 'clash.meta'
1 parent 5c33240 commit d27b9e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/subscription-template/constants/config-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const SUBSCRIPTION_CONFIG_TYPES = {
22
MIHOMO: {
33
NAME: 'MIHOMO',
4-
REGEX: /^(FlClash|[Cc]lash-[Vv]erge|[Cc]lash-?[Mm]eta|[Mm]urge|[Cc]lashX [Mm]eta|[Mm]ihomo)|[Cc]lash-nyanpasu/,
4+
REGEX: /^(FlClash|[Cc]lash-[Vv]erge|[Cc]lash-?[Mm]eta|[Mm]urge|[Cc]lashX [Mm]eta|[Mm]ihomo)|[Cc]lash-nyanpasu|clash.meta/,
55
CONTENT_TYPE: 'text/yaml',
66
BASE64: false,
77
},

0 commit comments

Comments
 (0)