Working on an updated configuration for ec2

...ons on the local machine rather than to the fully qualified url to save on network requests when on ec2 for https://github.com/OpenSourceFieldlinguistics/FieldDB/issues/838

* reduce network requests
* add CORS support