sitegeist/offcors 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2023-04-03