remove v1 from apiUrl