rluders/cors
Composer 安装命令:
composer require rluders/cors
包简介
CORS plugin for OctoberCMS
README 文档
README
This plugin provides a simple CORS support your for WinterCMS implementing the barryvdh/laravel-cors.
Installation
- Use the composer
$ composer require rluders/cors
-
Configure it on your OctoberCMS Backend.
-
Use it on your
route.php
<?php Route::group(['prefix' => 'api/e1', 'middleware' => ['\Barryvdh\Cors\HandleCors']], function(){ // routes here });
LICENSE
MIT
统计信息
- 总下载量: 830
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-02-04