(consoleEnv: string)
| 10 | import { loadStripe } from "@stripe/stripe-js"; |
| 11 | |
| 12 | export 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 | |
| 25 | export const getSegmentApiKey = ({ |
| 26 | consoleEnv, |