diff --git a/src/api/Api.ts b/src/api/Api.ts index c631656b..3ec831a2 100644 --- a/src/api/Api.ts +++ b/src/api/Api.ts @@ -214,7 +214,7 @@ export class ApiImpl implements Api { request['ch.disable'] = true } - if (args.points.length <= 2 && args.maxAlternativeRoutes > 1 && !(request as any)['curbsides']) { + if (args.points.length <= 2 && args.maxAlternativeRoutes > 1 && !(request as any)['curbsides'] && !args.profile.startsWith("cp_")) { return { ...request, 'alternative_route.max_paths': args.maxAlternativeRoutes,