use new rules link

This commit is contained in:
Gabe Yuan
2023-09-04 17:04:28 +08:00
parent 966c78fb16
commit 0ac06f8e3d
3 changed files with 11 additions and 4 deletions

View File

@@ -177,7 +177,9 @@ const RULES = [
},
];
export const BUILTIN_RULES = RULES.map((item) => ({
export const BUILTIN_RULES = RULES.sort((a, b) =>
a.pattern.localeCompare(b.pattern)
).map((item) => ({
...DEFAULT_RULE,
...item,
transOpen: "true",