pub fn correct_endpoint(url: impl AsRef<str>) -> TkResult<String>
Correct endpoint, add port for endpoint