From eaaefc915757800b9156e6d33754e3814735d7ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kleinb=C3=B6lting?= Date: Thu, 19 Oct 2023 14:04:33 +0200 Subject: [PATCH] chore: Reconfigure all "zio" endpoints to use the original address (#1222) --- apps/dsp-app/src/config/config.dev.json | 2 +- .../app-config/src/lib/app-config/app-config.service.spec.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/dsp-app/src/config/config.dev.json b/apps/dsp-app/src/config/config.dev.json index 27ad021915..074ea80f14 100644 --- a/apps/dsp-app/src/config/config.dev.json +++ b/apps/dsp-app/src/config/config.dev.json @@ -12,7 +12,7 @@ "jsonWebToken": "", "logErrors": true, "zioPrefix": ":5555", - "zioEndpoints": ["/admin/projects"], + "zioEndpoints": [], "iriBase": "http://rdfh.ch", "instrumentation": { "environment": "local-dev", diff --git a/libs/vre/shared/app-config/src/lib/app-config/app-config.service.spec.ts b/libs/vre/shared/app-config/src/lib/app-config/app-config.service.spec.ts index b19856fe21..c18ceb52a8 100644 --- a/libs/vre/shared/app-config/src/lib/app-config/app-config.service.spec.ts +++ b/libs/vre/shared/app-config/src/lib/app-config/app-config.service.spec.ts @@ -24,7 +24,7 @@ describe('AppConfigService with dev config', () => { jsonWebToken: 'mytoken', logErrors: true, zioPrefix: ':5555', - zioEndpoints: ['/admin/projects'], + zioEndpoints: [], geonameToken: 'geoname_token', iriBase: 'http://rdfh.ch', instrumentation: { @@ -62,7 +62,7 @@ describe('AppConfigService with dev config', () => { expect(service.dspApiConfig.apiHost).toEqual('0.0.0.0'); expect(service.dspApiConfig.apiPort).toEqual(3333); expect(service.dspApiConfig.zioPrefix).toEqual(':5555'); - expect(service.dspApiConfig.zioEndpoints).toEqual(['/admin/projects']); + expect(service.dspApiConfig.zioEndpoints).toEqual([]); expect(service.dspApiConfig.apiPath).toEqual('mypath'); expect(service.dspIiifConfig.iiifProtocol).toEqual('http'); expect(service.dspIiifConfig.iiifHost).toEqual('0.0.0.0');