Reply to 1269735728264679435@pati_gallardo Let URL do it for you: https://developer.mozilla.org/en-US/docs/Web/API/URL/URL