From 40261e7e2f9331a6c9f6c6f01d692c0df6db1d5a Mon Sep 17 00:00:00 2001 From: "vahid.mehrjouei" Date: Tue, 10 Dec 2024 10:59:52 +0100 Subject: [PATCH] Add CORS configuration for commerce web services and initialize Angular documentation files --- .../hybris/config/environments/common.properties | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core-customize/hybris/config/environments/common.properties b/core-customize/hybris/config/environments/common.properties index 69ff206..8eed76a 100644 --- a/core-customize/hybris/config/environments/common.properties +++ b/core-customize/hybris/config/environments/common.properties @@ -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