fix: do not require authkey
This commit is contained in:
parent
92dedf51aa
commit
c47346df52
@ -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…
Reference in New Issue
Block a user