diff options
author | MS <ms@taler.net> | 2023-02-15 11:20:38 +0100 |
---|---|---|
committer | MS <ms@taler.net> | 2023-02-15 11:20:38 +0100 |
commit | 18126f198507f27cc0853375006d30d3a6231fdf (patch) | |
tree | 37fca8aa7341ade20ae70cdeb25dd73807297f36 /sandbox/src/main/kotlin/tech/libeufin | |
parent | aec39ac06ca56a1684651f92c3b3f8be12c1599d (diff) | |
download | libeufin-18126f198507f27cc0853375006d30d3a6231fdf.tar.gz libeufin-18126f198507f27cc0853375006d30d3a6231fdf.tar.bz2 libeufin-18126f198507f27cc0853375006d30d3a6231fdf.zip |
allowing CORS for PATCH
Diffstat (limited to 'sandbox/src/main/kotlin/tech/libeufin')
-rw-r--r-- | sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt index 56e2ddb1..cd52a8f4 100644 --- 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) |