Remove trailing slash from index url