I have a sharepoint document library.I have made this library as Public CDN. This library contains some files.

Now i m trying to access the files inside SPFX but it doesnt work ? image

I am getting cors error ? image

This is strange , i should be able to pull file from public CDN directly ?

  • the images didn't make it through, can you update your post? Can you also provide how you're trying to access it? – baywet May 19 '18 at 18:29
  • Actual problem is only for json file..rest extension work fine.So to solve the problem i converted json to txt – user68141 May 23 '18 at 10:49
  • You should add that comment as answer and Mark it as answered. It will help others having the same issue – baywet May 23 '18 at 11:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.