libeufin

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

commit 3632572878e0e35e01f5a7980175c4a4d2f6934c
parent 94ccce0470c11b5235254f93d229ad1caeac88da
Author: Antoine A <>
Date:   Wed,  8 Oct 2025 15:22:47 +0200

bank: fix CORS

Diffstat:
Mcommon/src/main/kotlin/api/server.kt | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/common/src/main/kotlin/api/server.kt b/common/src/main/kotlin/api/server.kt @@ -159,6 +159,7 @@ fun Application.talerApi(logger: Logger, routes: Routing.() -> Unit) { anyHost() allowHeader(HttpHeaders.Authorization) allowHeader(HttpHeaders.ContentType) + allowHeader(TALER_CHALLENGE_IDS) allowMethod(HttpMethod.Options) allowMethod(HttpMethod.Patch) allowMethod(HttpMethod.Delete)