Hello,
We have been trying to display content from different domain using JSON link. We have 2 files (html and JS) which extracts data from JSON and displays over content editor webpart in our Sharepoint 2013. When we use VS code live server it works and content gets displayed.
We have added these 2 files into Site assets library and added link in a content editor which gives error as attached screenshot. 
Can Someone help me with this?
Regards,
Susmitha.