MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / getLaunchDarklyKey

Function getLaunchDarklyKey

console/src/config/apiKeys.ts:12–23  ·  view source on GitHub ↗
(consoleEnv: string)

Source from the content-addressed store, hash-verified

10import { loadStripe } from "@stripe/stripe-js";
11
12export const getLaunchDarklyKey = (consoleEnv: string) => {
13 if (consoleEnv === "production") {
14 return "63604cf8f9860a0c1f3c7099";
15 }
16 if (consoleEnv === "staging" || consoleEnv === "preview") {
17 // Staging key
18 return "6388e8a24ac9d112339757f3";
19 }
20
21 // Fall back to development key
22 return "6388e8b9750ee71144183456";
23};
24
25export const getSegmentApiKey = ({
26 consoleEnv,

Callers 1

CloudAppConfigClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected