Skip to content

Commit

Permalink
Merge pull request #2935 from YeeJiaWei/update-cors-pacakge
Browse files Browse the repository at this point in the history
using laravel default cors package
  • Loading branch information
cuneytsenturk committed Mar 13, 2023
2 parents 358272c + 92cc69c commit 93e277c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 139 deletions.
2 changes: 1 addition & 1 deletion app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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,
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\App\Http\Middleware\TrimStrings::class,
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"bkwld/cloner": "^3.10",
"bugsnag/bugsnag-laravel": "^2.24",
"doctrine/dbal": "^3.1",
"fruitcake/laravel-cors": "^2.0",
"genealabs/laravel-model-caching": "0.12.*",
"graham-campbell/markdown": "14.0.x-dev",
"guzzlehttp/guzzle": "^7.4",
Expand Down
138 changes: 1 addition & 137 deletions composer.lock

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

0 comments on commit 93e277c

Please sign in to comment.