Administrator
2023-07-26 342b6590ee28cc1a7b501287ce57eec1d6d166b8
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];
}