From 9453e10803a7cbb8f0fc3da9450df7c6c8af8621 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sun, 20 Aug 2023 19:55:11 +0200 Subject: [PATCH] Fixed prefix --- module-server/src/main/resources/application-dev.yaml | 2 +- module-server/src/main/resources/application-prod.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module-server/src/main/resources/application-dev.yaml b/module-server/src/main/resources/application-dev.yaml index e7819cd..73cda04 100644 --- a/module-server/src/main/resources/application-dev.yaml +++ b/module-server/src/main/resources/application-dev.yaml @@ -6,4 +6,4 @@ spring: config: import: - "classpath:config/wahlrecht.yaml" - - "optional:configserver:${CONFIGSERVER_SCHEME:http}://${CONFIGSERVER_HOST:configserver}:${CONFIGSERVER_PORT:8888}/${CONFIGSERVER_PREFIX:config}" + - "optional:configserver:${CONFIGSERVER_SCHEME:http}://${CONFIGSERVER_HOST:configserver}:${CONFIGSERVER_PORT:8888}${CONFIGSERVER_PREFIX:/config}" diff --git a/module-server/src/main/resources/application-prod.yaml b/module-server/src/main/resources/application-prod.yaml index 6b5b266..cf5bd00 100644 --- a/module-server/src/main/resources/application-prod.yaml +++ b/module-server/src/main/resources/application-prod.yaml @@ -1,7 +1,7 @@ spring: config: import: - - "configserver:${CONFIGSERVER_SCHEME:http}://${CONFIGSERVER_HOST:configserver}:${CONFIGSERVER_PORT:8888}/${CONFIGSERVER_PREFIX:config}" + - "configserver:${CONFIGSERVER_SCHEME:http}://${CONFIGSERVER_HOST:configserver}:${CONFIGSERVER_PORT:8888}${CONFIGSERVER_PREFIX:/config}" kafka: bootstrap-servers: - ${KAFKA_HOST:kafka}:${KAFKA_PORT:9092}