Remove /api/ from API requests