CORS error when reading remote .json file

The easy fix to allow your Web App to read remote json files from the server is to create the .htaccess file.

Create an `.htaccess` file and place it in the directory of the json files.

<Files "*.json">
  Header set Access-Control-Allow-Origin "*"
</Files>

Simply reload your app and it should work! good luck!