This is an automated email from the ASF dual-hosted git repository.
arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new b6b33fd67 FINERACT-1724: Added CORS support for Actuator endpoints
b6b33fd67 is described below
commit b6b33fd67b677f79e70490968d29036c4ba20caf
Author: Arnold Galovics <[email protected]>
AuthorDate: Fri Aug 25 11:29:48 2023 +0200
FINERACT-1724: Added CORS support for Actuator endpoints
---
fineract-provider/src/main/resources/application.properties | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/fineract-provider/src/main/resources/application.properties
b/fineract-provider/src/main/resources/application.properties
index 7ed12fa51..dbde0fd47 100644
--- a/fineract-provider/src/main/resources/application.properties
+++ b/fineract-provider/src/main/resources/application.properties
@@ -183,6 +183,10 @@ management.health.readinessState.enabled=true
management.health.ratelimiters.enabled=${FINERACT_MANAGEMENT_HEALTH_RATELIMITERS_ENABLED:false}
+management.endpoints.web.cors.allowed-origins=*
+management.endpoints.web.cors.allowed-methods=GET, POST, PUT, DELETE, OPTIONS
+management.endpoints.web.cors.allowed-headers=*
+
# FINERACT-883
management.info.git.mode=FULL
management.endpoints.web.exposure.include=${FINERACT_MANAGEMENT_ENDPOINT_WEB_EXPOSURE_INCLUDE:health,info}