Cross Origin Resource Sharing settings are now configurable in structr.conf.