mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
chore: 移除 json 缩进, 减少 json 大小
This commit is contained in:
3884
dist/gkd.json
vendored
3884
dist/gkd.json
vendored
File diff suppressed because one or more lines are too long
@@ -40,7 +40,7 @@ export const writeConfig = async (fp: string, config: SubscriptionConfig) => {
|
||||
map.set(k, newConfig[k]);
|
||||
});
|
||||
const buffer = Buffer.from(
|
||||
JSON.stringify(Object.fromEntries(map.entries()), void 0, 2),
|
||||
JSON.stringify(Object.fromEntries(map.entries())),
|
||||
'utf-8',
|
||||
);
|
||||
await fs.writeFile(fp, buffer);
|
||||
|
||||
Reference in New Issue
Block a user