I am using a material-ui react button with the to={''} property to route to a new page with a different port.
The application runs on localhost:3000 but when I route with this button I want to change to localhost:8080. Right now I am doing it like to={'${process.env.UAA_HOST}/uaa/create_account'} which almost works by getting the correct port, but the problem is that it just adds it onto the localhost:3000 such that the route is: http://localhost:3000/http://localhost:8080/uaa/create_account
How do I replace just the port number?