resolveLetsEncryptProduction static method

bool resolveLetsEncryptProduction(
  1. bool? letsEncryptProduction, {
  2. APIConfig? apiConfig,
})

Implementation

static bool resolveLetsEncryptProduction(bool? letsEncryptProduction,
    {APIConfig? apiConfig}) {
  letsEncryptProduction ??= apiConfig?.getPath('letsencrypt', 'production');
  letsEncryptProduction ??= false;
  return letsEncryptProduction;
}