const ResourcesConstants = process.env.NODE_ENV === 'PRODUCTION' || process.env.NODE_ENV === 'BETA' // set production variables the app needs here ? { CLIENT_ID: 'iVxHr9naeG4gMm', CONVERSATION_API: 'https://conversation.api.drift.com', CUSTOMER_API: 'https://customer.api.drift.com', NEW_ACCOUNT: 'https://app.drift.com/getstarted', PASSWORD_RESET: 'https://start.drift.com/forgot-password', PRESENCE_API_BASE: 'https://ws.api.drift.com', PRESENCE_WSS_BASE: 'wss://ws.api.drift.com', MESSAGES_API_BASE: 'https://chat.api.drift.com', MESSAGES_WSS_BASE: 'wss://chat.api.drift.com', APP_URL: 'https://app.drift.com', SEGMENT_ID: 'QgAt4LBFgs0iUUeNH78oyzBadKcnq98T', SENTRY_KEY: 'https://fd7c7736e5724b188025fe4a6eb339cf@sentry.io/222400', CLICK_TRACKING_URL: 'https://click.api.drift.com', GOOGLE_CLIENT_ID: '87492603950-u124kma19e32jh963uc9s3vsuujpm53k.apps.googleusercontent.com', PUBLIC_PROFILE_DOMAIN: 'drift.me', ORG_PROFILE_DOMAIN: 'drift.com', } : { CLIENT_ID: 'HcVEwgp9wDnDvd', CONVERSATION_API: 'https://conversation2.api.driftqa.com', CUSTOMER_API: 'https://customer2.api.driftqa.com', NEW_ACCOUNT: 'https://app.driftqa.com/getstarted', PASSWORD_RESET: 'https://start.driftqa.com/forgot-password', PRESENCE_API_BASE: 'https://ws.api.driftqa.com', PRESENCE_WSS_BASE: 'wss://ws.api.driftqa.com', MESSAGES_API_BASE: 'https://ws.api.driftqa.com', MESSAGES_WSS_BASE: 'wss://ws.api.driftqa.com', APP_URL: 'https://app.driftqa.com', SEGMENT_ID: 'ESjarUJ9xBdUqYMAYIPnFOYftdi0wXj4', SENTRY_KEY: 'https://fd7c7736e5724b188025fe4a6eb339cf@sentry.io/222400', CLICK_TRACKING_URL: 'https://click.api.driftqa.com', GOOGLE_CLIENT_ID: '519208343067-nl6fp3es3cfqifpotab43kjqg7f85ssc.apps.googleusercontent.com', PUBLIC_PROFILE_DOMAIN: 'drift.me', ORG_PROFILE_DOMAIN: 'driftqa.com', } export const AUTH_COOKIE_NAME = 'DrifttAuth' export const CLIENT_ID = ResourcesConstants.CLIENT_ID export const CONVERSATION_API = ResourcesConstants.CONVERSATION_API export const CUSTOMER_API = ResourcesConstants.CUSTOMER_API export const NEW_ACCOUNT = ResourcesConstants.NEW_ACCOUNT export const PASSWORD_RESET = ResourcesConstants.PASSWORD_RESET export const PRESENCE_API_BASE = ResourcesConstants.PRESENCE_API_BASE export const PRESENCE_WSS_BASE = ResourcesConstants.PRESENCE_WSS_BASE export const MESSAGES_API_BASE = ResourcesConstants.MESSAGES_API_BASE export const MESSAGES_WSS_BASE = ResourcesConstants.MESSAGES_WSS_BASE export const APP_URL = ResourcesConstants.APP_URL export const SEGMENT_ID = ResourcesConstants.SEGMENT_ID export const SENTRY_KEY = ResourcesConstants.SENTRY_KEY export const CLICK_TRACKING_URL = ResourcesConstants.CLICK_TRACKING_URL export const GOOGLE_CLIENT_ID = ResourcesConstants.GOOGLE_CLIENT_ID export const GOOGLE_AUTH_URL = 'https://accounts.google.com/o/oauth2/v2/auth' export const PUBLIC_PROFILE_DOMAIN = ResourcesConstants.PUBLIC_PROFILE_DOMAIN export const ORG_PROFILE_DOMAIN = ResourcesConstants.ORG_PROFILE_DOMAIN