Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 925 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 925 Bytes

CORS Plugin

This plugin provides a simple CORS support your for WinterCMS implementing the barryvdh/laravel-cors.

Installation

  1. Use the composer
$ composer require rluders/cors
  1. Configure it on your OctoberCMS Backend.

  2. Use it on your route.php

<?php

Route::group(['prefix' => 'api/e1', 'middleware' => ['\Barryvdh\Cors\HandleCors']], function(){
    // routes here
});

LICENSE

MIT