mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-29 12:19:43 +00:00
inconsistent destinationIp validation between create and update
This commit is contained in:
parent
64722617c1
commit
9e2a58dd46
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ const updateSiteResourceSchema = z
|
|||
protocol: z.enum(["tcp", "udp"]).optional(),
|
||||
proxyPort: z.number().int().positive().optional(),
|
||||
destinationPort: z.number().int().positive().optional(),
|
||||
destinationIp: z.string().ip().optional(),
|
||||
destinationIp: z.string().optional(),
|
||||
enabled: z.boolean().optional()
|
||||
})
|
||||
.strict();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue