etc.clientlibs resources not loaded with sling:mapping

Avatar

Avatar

prajwalreddy

Avatar

prajwalreddy

prajwalreddy

23-01-2019

I have created map.publish as below for we retail on a vanilla instance.

1674499_pastedImage_0.png

URL's are shortened. But when i try to load the page. everything loads except the resources rendered from etc.clientlibs. I added internal redirect to /etc.clientlibs too. But all the css/js gives a 404. Do we have any solution for this issue?

View Entire Topic

Avatar

Avatar

Gaurav-Behl

MVP

Avatar

Gaurav-Behl

MVP

Gaurav-Behl
MVP

30-01-2019

sling:mappings are not mandatory for this use case.

Allow 'clientlibs' extension in dispatcher and grant read ACL to anonymous user on '/etc' node or specific nodes. That should do the trick. I've tested that.