Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Local client libs and global client libs

Avatar

Level 4

Hi

    We configure Dispather to deny the apps folder but when we are writing local client libs means under component(/apps/myProject/component/clientlibs/xxxxx). Then my local client libs also deny. So how it works. Can anyone explan

Thanks in advance 

1 Accepted Solution

Avatar

Correct answer by
Level 10

In that case, you would need to setup clientlib.


You can also “proxy” your clientlibs. This means that you place your clientlibs in /apps, but will be served via /etc. To enable this you need to add the property allowProxy to your clientlib.

https://docs.adobe.com/docs/en/aem/6-3/develop/the-basics/clientlibs.html#Locating a Client Library Folder and Using the Proxy Client Libraries Servlet

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

In that case, you would need to setup clientlib.


You can also “proxy” your clientlibs. This means that you place your clientlibs in /apps, but will be served via /etc. To enable this you need to add the property allowProxy to your clientlib.

https://docs.adobe.com/docs/en/aem/6-3/develop/the-basics/clientlibs.html#Locating a Client Library Folder and Using the Proxy Client Libraries Servlet

Avatar

Level 4

Thanks Edubey I wil go through this