Remove /api from path