add PUT in CORS
This commit is contained in:
@@ -183,6 +183,7 @@ fun Application.module(env: Env = PROD) {
|
||||
|
||||
install(CORS) {
|
||||
method(HttpMethod.Options)
|
||||
method(HttpMethod.Put)
|
||||
header(HttpHeaders.Authorization)
|
||||
anyHost()
|
||||
// host("localhost:4200", schemes = listOf("http", "https"))
|
||||
|
||||
Reference in New Issue
Block a user