Add feature to persist cors hosts in config, edit in general settings tab and append to API headers if any is set.
Merge pull request #5912 from czolnowski/cors-for-api

Cross-origin resource sharing