From dea6a0d0c7040923b04cca979d76f99664896a3c Mon Sep 17 00:00:00 2001 From: enzo - Eduardo Garcia Date: Tue, 2 Sep 2014 15:23:21 -0600 Subject: [PATCH] Update README.md --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fb3de89..9e1cc52 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,19 @@ Check the releases section to verify the latest version. ### Features -**Cross-origin**: Enable to have Drupal as Backend in a Domain backend.com and the Backbone/Marionette App in other domain frontend.com. +####Cross-origin: Enable to have Drupal as Backend in a Domain backend.com and the Backbone/Marionette App in other domain frontend.com. + +##### Drupal 8 + +Because the mode https://www.drupal.org/project/cors doesn't have a version for Drupal 8 yet I recommend use Apache 2 and enable CORS using .htaccess using the following command + +``` +Header set Access-Control-Allow-Origin "*" +``` + +More information at http://enable-cors.org/server_apache.html + +##### Drupal 7 In your Drupal Server you must setup HTTP Access Control to enable connection, below and example.