mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-31 15:09:39 +02:00
bug fixes to smooth out multi domain inputs forms
This commit is contained in:
parent
e49fb646b0
commit
c877bb1187
4 changed files with 111 additions and 57 deletions
|
@ -30,7 +30,9 @@ const updateResourceParamsSchema = z
|
|||
const updateHttpResourceBodySchema = z
|
||||
.object({
|
||||
name: z.string().min(1).max(255).optional(),
|
||||
subdomain: subdomainSchema.optional(),
|
||||
subdomain: subdomainSchema
|
||||
.optional()
|
||||
.transform((val) => val?.toLowerCase()),
|
||||
ssl: z.boolean().optional(),
|
||||
sso: z.boolean().optional(),
|
||||
blockAccess: z.boolean().optional(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue