fix: do not require authkey

This commit is contained in:
Aarnav Tale 2025-03-18 00:46:35 -04:00
parent 92dedf51aa
commit c47346df52
No known key found for this signature in database

View File

@ -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"',
}) })