mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
docs: qrcode url
This commit is contained in:
@@ -2,24 +2,24 @@
|
||||
|
||||
a subscription for gkd
|
||||
|
||||
## gitmirror
|
||||
## githubusercontent
|
||||
|
||||
<details>
|
||||
<summary> gkd </summary>
|
||||
|
||||
- [gdk](https://raw.githubusercontent.com/gkd-kit/subscription/main/dist/gkd.json)
|
||||
|
||||

|
||||

|
||||
|
||||
</details>
|
||||
|
||||
## 大陆 CDN
|
||||
## npmmirror
|
||||
|
||||
<details>
|
||||
<summary> gkd </summary>
|
||||
|
||||
- [gkd](https://registry.npmmirror.com/@gkd-kit/subscription/latest/files)
|
||||
|
||||

|
||||

|
||||
|
||||
</details>
|
||||
|
||||
@@ -29,7 +29,7 @@ export const writeConfig = async (fp: string, config: SubscriptionConfig) => {
|
||||
}
|
||||
newConfig.version++;
|
||||
|
||||
// check duplicated key
|
||||
// check duplicated group key
|
||||
newConfig.apps?.forEach((app) => {
|
||||
const keys = new Set<number>();
|
||||
app.groups?.forEach((g) => {
|
||||
@@ -46,6 +46,7 @@ export const writeConfig = async (fp: string, config: SubscriptionConfig) => {
|
||||
});
|
||||
});
|
||||
|
||||
// check slector syntax
|
||||
newConfig.apps?.forEach((app) => {
|
||||
app.groups?.forEach((g) => {
|
||||
if (!g.rules) return;
|
||||
@@ -64,7 +65,7 @@ export const writeConfig = async (fp: string, config: SubscriptionConfig) => {
|
||||
parseSelector(selector);
|
||||
} catch (e) {
|
||||
console.error({
|
||||
message: `invalid selector`,
|
||||
message: `invalid selector syntax`,
|
||||
appId: app.id,
|
||||
groupKey: g.key,
|
||||
selector,
|
||||
|
||||
Reference in New Issue
Block a user