summaryrefslogtreecommitdiff
path: root/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-03-14 08:48:13 +0100
committerMS <ms@taler.net>2023-03-14 08:48:13 +0100
commit6c0de91e3290a3ce76850e52fd1cf2dc9c0c0d41 (patch)
treeef1f74492a9fc6e8eca1990fe6239f898b66b5f3 /sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
parent494a9e907ba9b8d353a5f3a52d01d253393e4886 (diff)
downloadlibeufin-6c0de91e3290a3ce76850e52fd1cf2dc9c0c0d41.tar.gz
libeufin-6c0de91e3290a3ce76850e52fd1cf2dc9c0c0d41.tar.bz2
libeufin-6c0de91e3290a3ce76850e52fd1cf2dc9c0c0d41.zip
Allowing CORS for DELETE.
Diffstat (limited to 'sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt')
-rw-r--r--sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt1
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 a266ccdd..2b4d093a 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -505,6 +505,7 @@ val sandboxApp: Application.() -> Unit = {
allowHeader(HttpHeaders.ContentType)
allowMethod(HttpMethod.Options)
allowMethod(HttpMethod.Patch)
+ allowMethod(HttpMethod.Delete)
allowCredentials = true
}
install(IgnoreTrailingSlash)