From 5e7409a4f0568251cfb6d2e258a926e979af063b Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 15 Sep 2025 15:21:33 -0700 Subject: [PATCH] Make sure to allow targets only --- server/lib/blueprints/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/lib/blueprints/types.ts b/server/lib/blueprints/types.ts index f11ffe1f..9b3a7a20 100644 --- a/server/lib/blueprints/types.ts +++ b/server/lib/blueprints/types.ts @@ -58,8 +58,8 @@ export const ResourceSchema = z auth: AuthSchema.optional(), "host-header": z.string().optional(), "tls-server-name": z.string().optional(), - headers: z.array(HeaderSchema).optional().default([]), - rules: z.array(RuleSchema).optional().default([]), + headers: z.array(HeaderSchema).optional(), + rules: z.array(RuleSchema).optional() }) .refine( (resource) => {