🐛 Fikset routing bug, Delete was not allowed, og feil endepunkt i frontend
This commit is contained in:
parent
2d9397b270
commit
42065587c0
2 changed files with 2 additions and 1 deletions
|
@ -28,6 +28,7 @@ fun configureRouting(): ApplicationEngine = embeddedServer(CIO, applicationEngin
|
|||
allowMethod(HttpMethod.Get)
|
||||
allowMethod(HttpMethod.Post)
|
||||
allowMethod(HttpMethod.Put)
|
||||
allowMethod(HttpMethod.Delete)
|
||||
allowNonSimpleContentTypes = true
|
||||
}
|
||||
install(ContentNegotiation) {
|
||||
|
|
Reference in a new issue