add PUT in CORS
This commit is contained in:
1 parent
68acd3b075
commit
2311d3986e
1 file changed
+1
@@ -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