Expand my Community achievements bar.

etc.clientlibs resources not loaded with sling:mapping

Avatar

Level 3

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?

2 Replies

Avatar

Level 10

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.