not able to view the files from sharepoint in react file viewer

Contributor

when i try the react file viewer from this repo file viewer repo i am able to view files from online samples but not sharepoint url, when i do so i am getting the cros error

Access to XMLHttpRequest at 'https://sharepoint.com/sites/DevL/Clients/AVM001103/Forms/AllItems.aspx?id=%2Fsites%2FDevL%2FClients...' from origin 'https://w2hpd.csb.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

0 Replies