0
0
GGGiovanny Gongora
Gets the current URL without any parameters or fragment identifiers.
const getBaseURL = (url: string) => url.replace(/[?#].*$/, '');
0
0
GGGiovanny Gongora
Gets the current URL without any parameters or fragment identifiers.
const getBaseURL = (url: string) => url.replace(/[?#].*$/, '');