import { imageHandlerUrl } from '@/config/env';

/**
 *
 * @param {("wartermark"|"removebg"|"replacebg")} type
 * @param {Array} listImage
 * @returns {string}
 */
export const openUrlHandlerImage = (type, listImage) => {
  return `${imageHandlerUrl}/${type}?url=${listImage.join(',')}`;
};
