🐛 Fikset routing bug, Delete was not allowed, og feil endepunkt i frontend

This commit is contained in:
Markus Johansen 2023-08-10 09:35:01 +02:00
parent 2d9397b270
commit 42065587c0
2 changed files with 2 additions and 1 deletions

View file

@ -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) {