commit 18126f198507f27cc0853375006d30d3a6231fdf
parent aec39ac06ca56a1684651f92c3b3f8be12c1599d
Author: MS <ms@taler.net>
Date: Wed, 15 Feb 2023 11:20:38 +0100
allowing CORS for PATCH
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -490,6 +490,7 @@ val sandboxApp: Application.() -> Unit = {
allowHeader(HttpHeaders.Authorization)
allowHeader(HttpHeaders.ContentType)
allowMethod(HttpMethod.Options)
+ allowMethod(HttpMethod.Patch)
allowCredentials = true
}
install(IgnoreTrailingSlash)