fix: define globals for context
This commit is contained in:
parent
296e4d489c
commit
e36352b7f3
3 changed files with 24 additions and 7 deletions
|
|
@ -105,8 +105,8 @@ const headscaleConfig = type({
|
|||
magic_dns: goBool.default(true),
|
||||
base_domain: 'string = "headscale.net"',
|
||||
nameservers: type({
|
||||
'global?': 'string[]',
|
||||
'split': type('Record<string, string[]>').default(() => ({})),
|
||||
global: type('string[]').default(() => []),
|
||||
split: type('Record<string, string[]>').default(() => ({})),
|
||||
}).default(() => ({ global: [], split: {} })),
|
||||
search_domains: type('string[]').default(() => []),
|
||||
extra_records: type({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue