Trim trailing slash from config url