diff --git a/libs/common/src/services/api.service.ts b/libs/common/src/services/api.service.ts index 938cd1b9e6..a4d3a0fb54 100644 --- a/libs/common/src/services/api.service.ts +++ b/libs/common/src/services/api.service.ts @@ -311,9 +311,7 @@ export class ApiService implements ApiServiceAbstraction { request, false, true, - this.platformUtilsService.isDev() - ? this.environmentService.getIdentityUrl() - : this.environmentService.getApiUrl() + this.environmentService.getIdentityUrl() ); return new PreloginResponse(r); } @@ -358,9 +356,7 @@ export class ApiService implements ApiServiceAbstraction { request, false, true, - this.platformUtilsService.isDev() - ? this.environmentService.getIdentityUrl() - : this.environmentService.getApiUrl() + this.environmentService.getIdentityUrl() ); return new RegisterResponse(r); }