mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-18 00:09:34 +02:00
Add config for domains
This commit is contained in:
parent
25ae169fee
commit
d000879c01
2 changed files with 26 additions and 3 deletions
|
@ -231,7 +231,29 @@ export const configSchema = z
|
|||
disable_config_managed_domains: z.boolean().optional(),
|
||||
enable_clients: z.boolean().optional()
|
||||
})
|
||||
.optional(),
|
||||
dns: z
|
||||
.object({
|
||||
nameservers: z
|
||||
.array(z.string().url())
|
||||
.optional()
|
||||
.default([
|
||||
"ns1.fossorial.io",
|
||||
"ns2.fossorial.io",
|
||||
]),
|
||||
cname_extension: z
|
||||
.string()
|
||||
.optional()
|
||||
.default("fossorial.io"),
|
||||
})
|
||||
.optional()
|
||||
.default({
|
||||
nameservers: [
|
||||
"ns1.fossorial.io",
|
||||
"ns2.fossorial.io",
|
||||
],
|
||||
cname_extension: "fossorial.io"
|
||||
}),
|
||||
})
|
||||
.refine(
|
||||
(data) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue