Skip to content

Instantly share code, notes, and snippets.

View 0zuna's full-sized avatar
🎎
Whats happenig?

Ozuna 0zuna

🎎
Whats happenig?
  • Mexico
View GitHub Profile
@0zuna
0zuna / Cors.php
Created May 21, 2021 19:41 — forked from drewjoh/Cors.php
Laravel CORS Middleware
<?php // /app/Http/Middleware/Cors.php
namespace App\Http\Middleware;
use Closure;
class Cors {
public function handle($request, Closure $next)
{
return $next($request)