jsondiffpatch
jsondiffpatch copied to clipboard
Live Demo: `raw urls` example broken due to CORS
repro:
- choose example
raw urlsin Live Demo
-> editors show: parse error: SyntaxError: Unexpected end of JSON input
-> console error: Access to XMLHttpRequest at 'https://rawgithub.com/benjamine/JsonDiffPatch/master/package.json' from origin 'https://benjamine.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Can this be fixed by adding requesting CORS in headers when fetching package.json?