I have updated my storefront Spartacus app from 1.4 to 3.1. As per Spartacus technical changes we need to change backend.occ.prefix from /rest/v2/ to /occ/v2/.
After changing this, backend service call urls are getting changed.
Before change I had below URL call, https://localhost:4200/rest/v2/basesites?active=true&showExternalSites=true&fields=FULL. It returns valid data.
After backend.occ.prefix change to /occ/v2/ am getting below URL call,
https://localhost:4200//occ/v2/basesites?fields=baseSites(uid,defaultLanguage(isocode),urlEncodingAttributes,urlPatterns,stores(currencies(isocode),defaultCurrency(isocode),languages(isocode),defaultLanguage(isocode)))&lang=en&curr=USD
It returns 404 error.
Do we need to change any configuration in hybris setup or need any other changes from Spartacus storefront.
I have hybris version 1905.19
Please help me to get this fixed. Thanks.