Skip to content

rluders/wn-cors-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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