mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-27 19:22:50 +00:00
Basic crud working?
This commit is contained in:
@@ -150,7 +150,7 @@ export async function validateAndConstructDomain(
|
||||
return {
|
||||
success: true,
|
||||
fullDomain,
|
||||
subdomain: isWildcard ? "*" : (finalSubdomain ?? null),
|
||||
subdomain: finalSubdomain ?? null,
|
||||
wildcard: isWildcard
|
||||
};
|
||||
} catch (error) {
|
||||
|
||||
@@ -46,7 +46,7 @@ const updateHttpResourceBodySchema = z
|
||||
"niceId can only contain letters, numbers, and dashes"
|
||||
)
|
||||
.optional(),
|
||||
subdomain: subdomainSchema.nullable().optional(),
|
||||
subdomain: z.string().nullable().optional(),
|
||||
ssl: z.boolean().optional(),
|
||||
sso: z.boolean().optional(),
|
||||
blockAccess: z.boolean().optional(),
|
||||
|
||||
Reference in New Issue
Block a user