Content fragment / Asset API / JSON : Integration working in Author but not in Publish
I am working on React component to integrate the data from AEM content fragment. In React code I using the asset api to read the content json and populate in UI. asset api JSON response is working fine in author environemnt, but when I publish the page to my dev environment it is not working. I have published botth content frammen and UI components.
The example in publish dev environment refereing like "https://xyz-dev.mydomain.com/api/assets/mydomain/en/office/data/2024/subfolder/mkx.json"
the author enviornment refereing like below
Could you please provide some insights?