From ddd5a379289972e4a62a4703f8157b56038c7334 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Sun, 10 Nov 2024 13:26:45 +0000 Subject: [PATCH] add csp env var to backend-core --- packages/backend-core/src/environment.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend-core/src/environment.ts b/packages/backend-core/src/environment.ts index 4cb0a9c731..0a9dd822a0 100644 --- a/packages/backend-core/src/environment.ts +++ b/packages/backend-core/src/environment.ts @@ -225,6 +225,7 @@ const environment = { OPENAI_API_KEY: process.env.OPENAI_API_KEY, MIN_VERSION_WITHOUT_POWER_ROLE: process.env.MIN_VERSION_WITHOUT_POWER_ROLE || "3.0.0", + DISABLE_CONTENT_SECURITY_POLICY: process.env.DISABLE_CONTENT_SECURITY_POLICY, } export function setEnv(newEnvVars: Partial): () => void {