Administrator
2023-08-25 7f21d4f22ec711d6aa89900b07e0b5ac31dbac42
1
2
3
4
5
6
7
/**
 * @param {string} [url] If not provided - current URL will be used
 * @return {string}
 */
export default function (url) {
  return (url || window.location.href).split('#')[0];
}