Remove trailing slash from base url