Skip to content

Commit 6072a2f

Browse files
abstraktorslisson
authored andcommitted
feat(model-server): add CORS for DELETE method
1 parent 71b0516 commit 6072a2f

File tree

1 file changed

+1
-0
lines changed
  • model-server/src/main/kotlin/org/modelix/model/server

1 file changed

+1
-0
lines changed

model-server/src/main/kotlin/org/modelix/model/server/Main.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ object Main {
220220
allowMethod(HttpMethod.Get)
221221
allowMethod(HttpMethod.Put)
222222
allowMethod(HttpMethod.Post)
223+
allowMethod(HttpMethod.Delete)
223224
}
224225
installStatusPages()
225226

0 commit comments

Comments
 (0)