mirror of
https://github.com/documenso/documenso.git
synced 2026-08-23 14:52:23 +10:00
fix: improve unified settings (#3160)
This commit is contained in:
@@ -56,4 +56,8 @@ export const createPublicEnv = () => ({
|
||||
// Derived from the private transport so the client can detect CSC mode for
|
||||
// authoring UI gating without exposing the raw transport value.
|
||||
NEXT_PUBLIC_SIGNING_TRANSPORT_IS_CSC: process.env.NEXT_PRIVATE_SIGNING_TRANSPORT === 'csc' ? 'true' : 'false',
|
||||
// Derived from the private Vertex credentials so the client can gate AI
|
||||
// feature UI on a boolean.
|
||||
NEXT_PUBLIC_AI_FEATURES_ENABLED:
|
||||
process.env.GOOGLE_VERTEX_PROJECT_ID && process.env.GOOGLE_VERTEX_API_KEY ? 'true' : 'false',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user