module.exports = function() {
  return require('./embedly').apply(null, arguments);
};

const { RESIZING_SERVICE } = process.env;

module.exports = function() {
  if (RESIZING_SERVICE === 'gemini') {
    return require('./gemini').apply(null, arguments);
  } else {
    return require('./embedly').apply(null, arguments);
  }
};

Configure using an ENV variable
Configure using an ENV variable
