drupal/cors
Composer 安装命令:
composer require drupal/cors
包简介
Enable cors options in Drupal 8
README 文档
README
Drupal 8 CORS
Thanks to the issue (#2303673)[https://github.com/drupal/drupal/commit/5ef912e9659131fd31d1522e3216d37323a0c047] in Drupal 8 now we have a new powerfull component, (StackPHP)[http://stackphp.com] is a middleware for the HttpKernel class, this middleware provide a decorator thas can intercept the request after to touch the Drupal Core.
How to use
This modulo don't provide UI, only need you turn on.
Installation
$ cd modules/
$ git clone git@github.com:dmouse/cors-drupal8.git cors
$ drush en cors
Middleware enabling cross-origin resource sharing for your http-{foundation,kernel} using application.
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.
统计信息
- 总下载量: 154
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 0
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: GLP2
- 更新时间: 2015-02-09