Skip to content

flynn314/allow-cors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Experimental library

# 1. add to Kernel.php
'cors.allow' => AllowCors::class,

# 2. add middleware to route
Route::middleware(['cors.allow'])->group(function () {
    Route::get('/my-api-call', 'Controller@index');
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages