Remove the trailing slash from the base url