libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit b829cc25a9a0fa761f51691ee2c165e894cacb7a
parent 4bf7300afa7ee9d0b1959833d448618d7dd34b0c
Author: Florian Dold <florian@dold.me>
Date:   Wed,  4 Aug 2021 12:41:02 +0200

make sure base URLs end with slash

Diffstat:
Mnexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt @@ -856,6 +856,7 @@ fun serverMain(dbName: String, host: String, port: Int) { parameters.clear() encodedPath = "" pathComponents("facades", f.facadeName, f.type) + encodedPath += "/" }, config = getFacadeState(f.type, f) ) @@ -882,6 +883,7 @@ fun serverMain(dbName: String, host: String, port: Int) { parameters.clear() encodedPath = "" pathComponents("facades", it.facadeName, it.type) + encodedPath += "/" }, config = getFacadeState(it.type, it) ) @@ -1013,4 +1015,4 @@ fun serverMain(dbName: String, host: String, port: Int) { logger.error(e.message) exitProcess(1) } -} -\ No newline at end of file +}