commit 6c0de91e3290a3ce76850e52fd1cf2dc9c0c0d41
parent 494a9e907ba9b8d353a5f3a52d01d253393e4886
Author: MS <ms@taler.net>
Date: Tue, 14 Mar 2023 08:48:13 +0100
Allowing CORS for DELETE.
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
@@ -505,6 +505,7 @@ val sandboxApp: Application.() -> Unit = {
allowHeader(HttpHeaders.ContentType)
allowMethod(HttpMethod.Options)
allowMethod(HttpMethod.Patch)
+ allowMethod(HttpMethod.Delete)
allowCredentials = true
}
install(IgnoreTrailingSlash)