Add DELETE cors
This commit is contained in:
parent
d3f74b30e1
commit
5b7680e017
@ -9,5 +9,6 @@ fun Application.corsFeature() {
|
|||||||
anyHost()
|
anyHost()
|
||||||
header(HttpHeaders.ContentType)
|
header(HttpHeaders.ContentType)
|
||||||
header(HttpHeaders.Authorization)
|
header(HttpHeaders.Authorization)
|
||||||
|
methods.add(HttpMethod.Delete)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user