api/core: return public turnstile sitekey in server info
This commit is contained in:
@@ -34,10 +34,15 @@ const env = {
|
||||
|
||||
externalProxy: process.env.API_EXTERNAL_PROXY,
|
||||
|
||||
turnstileSitekey: process.env.TURNSTILE_SITEKEY,
|
||||
turnstileSecret: process.env.TURNSTILE_SECRET,
|
||||
jwtSecret: process.env.JWT_SECRET,
|
||||
jwtLifetime: process.env.JWT_EXPIRY || 120,
|
||||
|
||||
sessionEnabled: process.env.TURNSTILE_SITEKEY
|
||||
&& process.env.TURNSTILE_SECRET
|
||||
&& process.env.JWT_SECRET,
|
||||
|
||||
enabledServices,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user