fix: do not require authkey
This commit is contained in:
parent
92dedf51aa
commit
c47346df52
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ const serverConfig = type({
|
||||||
cookie_secret: '32 <= string <= 32',
|
cookie_secret: '32 <= string <= 32',
|
||||||
cookie_secure: stringToBool,
|
cookie_secure: stringToBool,
|
||||||
agent: type({
|
agent: type({
|
||||||
authkey: 'string',
|
authkey: 'string = ""',
|
||||||
ttl: 'number.integer = 180000', // Default to 3 minutes
|
ttl: 'number.integer = 180000', // Default to 3 minutes
|
||||||
cache_path: 'string = "/var/lib/headplane/agent_cache.json"',
|
cache_path: 'string = "/var/lib/headplane/agent_cache.json"',
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue