Remove trailing slash from url when sharing on facebook