mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
Make sure to allow targets only
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user