Remove fruitcake/laravel-cors dependency

This commit is contained in:
Shift 2023-01-05 17:02:11 +00:00
parent e948472475
commit 472dead0d6
No known key found for this signature in database
GPG key ID: 5A96F038425C5A1C
2 changed files with 1 additions and 2 deletions

View file

@ -22,7 +22,7 @@ class Kernel extends HttpKernel
protected $middleware = [
// \App\Http\Middleware\TrustHosts::class,
\App\Http\Middleware\TrustProxies::class,
\Fruitcake\Cors\HandleCors::class,
\Illuminate\Http\Middleware\HandleCors::class,
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\App\Http\Middleware\TrimStrings::class,

View file

@ -13,7 +13,6 @@
"biscolab/laravel-recaptcha": "^5.4",
"doctrine/dbal": "^3.1",
"fideloper/proxy": "^4.4",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0.1",
"hidehalo/nanoid-php": "^1.1",
"kkomelin/laravel-translatable-string-exporter": "^1.14",