ellinaut/cors-bundle
最新稳定版本:1.0.1
Composer 安装命令:
composer require ellinaut/cors-bundle
包简介
A bundle to allow CORS request to the server
README 文档
README
cors: patterns: '*': ~
cors: patterns: '*': handle_options: true credentials: true origin: [ '*' ] methods: - 'OPTIONS' - 'HEAD' - 'GET' - 'POST' - 'PATCH' - 'PUT' - 'DELETE' additional_methods: [ ] headers: - 'Access-Control-Allow-Headers' - 'Access-Control-Request-Method' - 'Access-Control-Request-Headers' - 'Access-Control-Allow-Credentials' - 'Origin' - 'Authorization' - 'Content-Type' - 'Accept' - 'Accept-Language' - 'Vary' - 'X-Requested-With' additional_headers: [ ]
统计信息
- 总下载量: 269
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-02