From 3a57cb77a641f23e2cf00069ad203adc12eb7fc3 Mon Sep 17 00:00:00 2001 From: AleixMT Date: Fri, 23 Feb 2024 20:17:32 +0100 Subject: [PATCH] REMOVED: filter for access control allow origin --- src/main/resources/application.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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