setProduction static method

void setProduction(
  1. bool prod
)

Switches the LeanEngine environment.

  • true: the production environment.
  • false: the staging environment.

Implementation

static void setProduction(bool prod) {
  isProd = prod;
}