Migrate endpoints.cors to management.endpoints.cors

This commit moves CORS properties out of the endpoints namespace as they
do not refer to a "cors" endpoint but rather to the CORS configuration
of all endpoints.

Closes gh-10053
This commit is contained in:
Stephane Nicoll
2017-08-22 11:40:39 +02:00
parent 3087514b79
commit 68fcea7b9a
7 changed files with 37 additions and 38 deletions

View File

@@ -1,2 +1,2 @@
endpoints.cors.allowed-origins=http://localhost:8080
endpoints.cors.allowed-methods=GET
management.endpoints.cors.allowed-origins=http://localhost:8080
management.endpoints.cors.allowed-methods=GET