Deprecated

This module is no longer needed as its part of Drupal 8.2, see https://www.drupal.org/node/2715637

Cross-origin resource sharing (CORS) is a mechanism that allows a web page to make XMLHttpRequests to another domain. Such "cross-domain" requests would otherwise be forbidden by web browsers, per the same origin security policy.

This module provides a configuration page to map domains to paths and add the necessary Access-Control-Allow-Origin header.

Also accepting pull requests on GitHub https://github.com/justafish/drupal_cors

Supporting organizations: 

Project Information

Downloads