Skip to content

Commit

Permalink
Add CORS configuration for commerce web services and initialize Angul…
Browse files Browse the repository at this point in the history
…ar documentation files
  • Loading branch information
vahid.mehrjouei committed Dec 10, 2024
1 parent 153c485 commit 40261e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core-customize/hybris/config/environments/common.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ corsfilter.acceleratorservices.allowedOrigins=${ccv2.services.jsapps.url.0} ${cc
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.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 40261e7

Please sign in to comment.