Remova o número da porta do URL Node JS

url.replace(/:\d+/, ""); // Replaces : with any digits after it from URL
I_Like_Cats__