Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
REMOVED: filter for access control allow origin
Browse files Browse the repository at this point in the history
  • Loading branch information
AleixMT committed Feb 23, 2024
1 parent 88da537 commit 3a57cb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a57cb7

Please sign in to comment.