Skip to content

Commit

Permalink
build(composer.json): remove laravel-cors
Browse files Browse the repository at this point in the history
Remove laravel-cors, Laravel handles CORS internally now, and this package is no longer needed
  • Loading branch information
daveroverts committed Feb 23, 2022
1 parent 9bbec27 commit bf5750c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 138 deletions.
2 changes: 1 addition & 1 deletion app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Kernel extends HttpKernel
\App\Http\Middleware\TrimStrings::class,
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
\App\Http\Middleware\TrustProxies::class,
\Fruitcake\Cors\HandleCors::class,
\Illuminate\Http\Middleware\HandleCors::class,
];

/**
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"bugsnag/bugsnag-laravel": "^2.22",
"cviebrock/eloquent-sluggable": "^9.0",
"doctrine/dbal": "^3.3",
"fruitcake/laravel-cors": "^2.0",
"laravel/framework": "^9.0",
"laravel/horizon": "^5.8",
"laravel/telescope": "^4.7",
Expand Down
137 changes: 1 addition & 136 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bf5750c

Please sign in to comment.