change geoip to country

This commit is contained in:
Lokowitz
2025-10-23 13:27:34 +00:00
parent 4e4a38f7e9
commit 5b61742075
3 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ import { OpenAPITags, registry } from "@server/openApi";
const createResourceRuleSchema = z
.object({
action: z.enum(["ACCEPT", "DROP", "PASS"]),
match: z.enum(["CIDR", "IP", "PATH", "GEOIP"]),
match: z.enum(["CIDR", "IP", "PATH", "COUNTRY"]),
value: z.string().min(1),
priority: z.number().int(),
enabled: z.boolean().optional()