const getRedirectUrl = () => {
  const url = new URL(window.location.href);
  url.search = "";
  return url.href;
};
const removeDoubleSlash = (url) => url.replace(/([^:]\/)\/+/g, "$1");
export {
  getRedirectUrl,
  removeDoubleSlash
};
