Skip to content

The open alternative to Salesforce, designed for AI.

259 B
Raw Blame
export const getApplicationVariable = (key: string): string | undefined => {
  const raw = process.env.applicationVariables;

  if (!raw) {
    return undefined;
  }

  const variables = JSON.parse(raw) as Record<string, string>;

  return variables[key];
};