summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorLarvan2 <[email protected]>2023-05-08 20:16:35 +0800
committerLarvan2 <[email protected]>2023-05-08 20:16:35 +0800
commit95aaf0f61c12bdce07ed32508d224cf3b3db961c (patch)
tree21333f6eef7842a288e73a6aef94f025e9e3b2f9 /src/api
parent252f173c02018e40a6a24aced008db2d96961866 (diff)
display size 4 GeoSite
Diffstat (limited to 'src/api')
-rw-r--r--src/api/rules.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/rules.ts b/src/api/rules.ts
index 3edb8d4..97f2eee 100644
--- a/src/api/rules.ts
+++ b/src/api/rules.ts
@@ -11,6 +11,7 @@ type RuleAPIItem = {
type: string;
payload: string;
proxy: string;
+ size: number;
};
function normalizeAPIResponse(json: { rules: Array<RuleAPIItem> }): Array<RuleItem> {