Fix issue with /api/v2 not working