code: function _getEnvUrl (currentEnv, config) {
    if (currentEnv && config) {
      if (currentEnv === 'prod') {
        return config.urls.prod
      } else if (currentEnv === 'ref') {
        return config.urls.ref
      } else {
        return config.urls.dev
      }
    }
  }
docs: Get the url for the current environmen.
  @param {*} currentEnv current environment.
  @param {*} config the given config.