sitegeist/offcors
最新稳定版本:v1.0.2
Composer 安装命令:
composer require sitegeist/offcors
包简介
CORS Middleware for Neos-CMS / Flow-Framework
README 文档
README
CORS Middleware for Neos-CMS / Flow-Framework
Very basic (for now) CORS implementation for Neos CMS
Authors & Sponsors
- Martin Ficzel - ficzel@sitegeist.de
- Melanie Wüst - wuest@sitegeist.de
The development and the public-releases of this package is generously sponsored by our employer https://www.sitegeist.de.
Configuration
Sitegeist: OffCORS: # allow credentials via cors (bool) allowCredentials: false # allowed cors origins (array or csv-string) allowOrigins: "*" # allowed cors methods (array or csv-string) allowMethods: "GET" # allowed cors headers (array or csv-string) allowHeaders: "" # exposed cors headers (array or csv-string) exposeHeaders: "" # max age cors informations (int) maxAge: 86400
Installation
Sitegeist.OffCORS is available via packagist. Just run composer require sitegeist/offcors to install it. We use semantic-versioning so every breaking change will increase the major-version number.
Contribution
We will gladly accept contributions. Please send us pull requests.
统计信息
- 总下载量: 163.06k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2023-04-03