diff --git a/src/app/core/core.module.ts b/src/app/core/core.module.ts index a57823fe50..3453c04af1 100644 --- a/src/app/core/core.module.ts +++ b/src/app/core/core.module.ts @@ -97,11 +97,11 @@ import { EndpointMockingRestService } from './dspace-rest-v2/endpoint-mocking-re import { ENV_CONFIG, GLOBAL_CONFIG, GlobalConfig } from '../../config'; export const restServiceFactory = (cfg: GlobalConfig, mocks: MockResponseMap, http: HttpClient) => { - if (ENV_CONFIG.production) { - return new DSpaceRESTv2Service(http); - } else { + // if (ENV_CONFIG.production) { + // return new DSpaceRESTv2Service(http); + // } else { return new EndpointMockingRestService(cfg, mocks, http); - } + // } }; const IMPORTS = [