diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 38b400c..aa8895f 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -29,7 +29,8 @@ eureka.client.serviceUrl.defaultZone=${EUREKA_URL:http://localhost:8761/eureka} spring.application.name=gateway spring.cloud.gateway.discovery.locator.enabled=true spring.cloud.gateway.discovery.locator.lower-case-service-id=true -spring.cloud.gateway.default-filters=DedupeResponseHeader=Access-Control-Allow-Credentials Access-Control-Allow-Origin +#Removed for integration Access-Control-Allow-Origin +spring.cloud.gateway.default-filters=DedupeResponseHeader=Access-Control-Allow-Credentials spring.cloud.gateway.globalcors.cors-configurations.[/**].allowedOrigins=${ALLOWED_ORIGINS:*} spring.cloud.gateway.globalcors.cors-configurations.[/**].allowedHeaders=* spring.cloud.gateway.globalcors.cors-configurations.[/**].allowedMethods=POST