Skip to content

Commit

Permalink
Comment out CORS configuration for commerce web services in common.pr…
Browse files Browse the repository at this point in the history
…operties
  • Loading branch information
vahid.mehrjouei committed Dec 31, 2024
1 parent 9ad39fb commit 116e07e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core-customize/hybris/config/environments/common.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ occ.rewrite.overlapping.paths.enabled=true
corsfilter.acceleratorservices.allowedOrigins=${ccv2.services.jsapps.url.0} ${ccv2.services.accstorefront.url.0}
corsfilter.permissionswebservices.allowedOrigins=${ccv2.services.jsapps.url.0} ${ccv2.services.accstorefront.url.0}

corsfilter.commercewebservices.allowedOriginPatterns=*
corsfilter.commercewebservices.allowedMethods=GET HEAD OPTIONS PATCH PUT POST DELETE
corsfilter.commercewebservices.allowedHeaders=origin content-type accept authorization cache-control if-none-match x-anonymous-consents x-profile-tag-debug x-consent-reference occ-personalization-id occ-personalization-time
corsfilter.commercewebservices.exposedHeaders=x-anonymous-consents occ-personalization-id occ-personalization-time
corsfilter.commercewebservices.allowCredentials=true
# corsfilter.commercewebservices.allowedOriginPatterns=*
# corsfilter.commercewebservices.allowedMethods=GET HEAD OPTIONS PATCH PUT POST DELETE
# corsfilter.commercewebservices.allowedHeaders=origin content-type accept authorization cache-control if-none-match x-anonymous-consents x-profile-tag-debug x-consent-reference occ-personalization-id occ-personalization-time
# corsfilter.commercewebservices.exposedHeaders=x-anonymous-consents occ-personalization-id occ-personalization-time
# corsfilter.commercewebservices.allowCredentials=true

corsfilter.assistedservicewebservices.allowedOrigins=${ccv2.services.jsapps.url.0} ${ccv2.services.accstorefront.url.0}
corsfilter.assistedservicewebservices.allowedHeaders=origin content-type accept authorization cache-control x-anonymous-consents x-profile-tag-debug x-consent-reference
Expand Down

0 comments on commit 116e07e

Please sign in to comment.