Skip to content

Instantly share code, notes, and snippets.

View AnApluss's full-sized avatar
🎯
Focusing

Anuoluwapo Akinseye AnApluss

🎯
Focusing
View GitHub Profile
@technoknol
technoknol / Enable CORS in Laravel 5.4.php
Created April 26, 2017 14:10
Enable CORS in laravel 5.4
<?php
# File: app\Http\Middleware\CORS.php
# Create file with below code in above location. And at the end of the file there are other instructions also.
# Please check.
namespace App\Http\Middleware;
use Closure;
class CORS {